Saml2SecurityToken Constructor (Saml2Assertion)

.NET Framework (current version)

Initializes a new instance of the Saml2SecurityToken class using the specified SAML assertion.

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

public Saml2SecurityToken(
	Saml2Assertion assertion


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.

.NET Framework
Available since 4.5
Return to top