SamlSecurityToken Constructor (SamlAssertion)
Collapse the table of content
Expand the table of content

SamlSecurityToken Constructor (SamlAssertion)


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

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

public SamlSecurityToken(
	SamlAssertion assertion


Type: System.IdentityModel.Tokens.SamlAssertion

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

This constructor calls the Initialize(SamlAssertion) method, which can be overridden in derived classes.

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

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft