Saml2SecurityToken.Assertion Property

.NET Framework (current version)
 

Gets the SAML assertion for this security token.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public Saml2Assertion Assertion { get; }

Property Value

Type: System.IdentityModel.Tokens.Saml2Assertion

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

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

Use a constructor or the M:System.IdentityModel.Tokens.Saml2SecurityToken.Initialize(System.IdentityModel.Tokens.Saml2Assertion) method to set the Assertion property.

.NET Framework
Available since 4.5
Return to top
Show: