Edit

Share via


SamlSecurityToken.Initialize(SamlAssertion) Method

Definition

Initializes the properties of the SamlSecurityToken class using the specified SAML assertion.

protected:
 void Initialize(System::IdentityModel::Tokens::SamlAssertion ^ assertion);
protected void Initialize (System.IdentityModel.Tokens.SamlAssertion assertion);
member this.Initialize : System.IdentityModel.Tokens.SamlAssertion -> unit
Protected Sub Initialize (assertion As SamlAssertion)

Parameters

assertion
SamlAssertion

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

Exceptions

assertion is null.

Remarks

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.

Applies to