SamlSecurityToken::Initialize Method (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 the properties of the SamlSecurityToken class using the specified SAML assertion.

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

protected:
void Initialize(
	SamlAssertion^ assertion
)

Parameters

assertion
Type: System.IdentityModel.Tokens::SamlAssertion^

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

Exception Condition
ArgumentNullException

assertion is null.

The SamlSecurityToken(SamlAssertion^) 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: