SamlSecurityToken Constructor (SamlAssertion)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

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
Show: