Saml2SecurityToken.Assertion Property

Definition

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

Property Value

A Saml2Assertion that represents the SAML assertion for this security token.

Remarks

For Saml2SecurityToken security tokens, the claims are specified using a SAML assertion.

Use a constructor or the Saml2SecurityToken.Saml2SecurityToken(Saml2Assertion) method to set the Assertion property.

Applies to