语言

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> 与 SAML 断言关联的 SAML 语句的类型 SamlStatement 。

注解

使用 SamlAssertion 设置与 SAML 断言关联的 SAML 语句,或在属性为IsReadOnly属性时直接将其添加到此属性返回的false集合中。

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

语句类型 CLR 类型
Authentication SamlAuthenticationStatement
Attribute SamlAttributeStatement
授权决策 SamlAuthorizationDecisionStatement
扩展架构中定义的语句 SamlStatement
扩展架构中定义的使用者语句 SamlSubjectStatement

适用于