Saml2SecurityToken.Assertion 属性
定义
获取此安全令牌的 SAML 断言。Gets the SAML assertion for this security token.
public:
property System::IdentityModel::Tokens::Saml2Assertion ^ Assertion { System::IdentityModel::Tokens::Saml2Assertion ^ get(); };
public System.IdentityModel.Tokens.Saml2Assertion Assertion { get; }
member this.Assertion : System.IdentityModel.Tokens.Saml2Assertion
Public ReadOnly Property Assertion As Saml2Assertion
属性值
一个 Saml2Assertion,表示此安全令牌的 SAML 断言。A Saml2Assertion that represents the SAML assertion for this security token.
注解
对于 Saml2SecurityToken 安全令牌,声明是使用 SAML 断言指定的。For Saml2SecurityToken security tokens, the claims are specified using a SAML assertion.
使用构造函数或 Saml2SecurityToken.Saml2SecurityToken(Saml2Assertion) 方法可设置 Assertion 属性。Use a constructor or the Saml2SecurityToken.Saml2SecurityToken(Saml2Assertion) method to set the Assertion property.