Share via


SamlAssertion.Statements 属性

定义

获取与 SAML 断言相关联的 SAML 语句集。

public:
 property System::Collections::Generic::IList<System::IdentityModel::Tokens::SamlStatement ^> ^ Statements { System::Collections::Generic::IList<System::IdentityModel::Tokens::SamlStatement ^> ^ get(); };
public System.Collections.Generic.IList<System.IdentityModel.Tokens.SamlStatement> Statements { get; }
member this.Statements : System.Collections.Generic.IList<System.IdentityModel.Tokens.SamlStatement>
Public ReadOnly Property Statements As IList(Of SamlStatement)

属性值

一个类型为 IList<T>SamlStatement,它包含与 SAML 断言相关联的 SAML 语句。

注解

使用 SamlAssertion 来设置与 SAML 断言相关联的 SAML 语句,或者如果 IsReadOnly 属性为 false,则将该语句直接添加到此属性所返回的集合中。

下表将 OASIS SAML 断言和协议规范中定义的三种类型的 SAML 语句分别映射到它们各自的类型。

语句类型 CLR 类型
身份验证 SamlAuthenticationStatement
Attribute SamlAttributeStatement
授权决定 SamlAuthorizationDecisionStatement
扩展架构中定义的语句 SamlStatement
扩展架构中定义的主题语句 SamlSubjectStatement

适用于