SamlSecurityToken.Initialize(SamlAssertion) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.