SamlSecurityToken Constructors

Definition

Initializes a new instance of the SamlSecurityToken class.

Overloads

SamlSecurityToken()

Initializes a new instance of the SamlSecurityToken class.

SamlSecurityToken(SamlAssertion)

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

SamlSecurityToken()

Initializes a new instance of the SamlSecurityToken class.

C#
protected SamlSecurityToken();

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SamlSecurityToken(SamlAssertion)

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

C#
public SamlSecurityToken(System.IdentityModel.Tokens.SamlAssertion assertion);

Parameters

assertion
SamlAssertion

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

Remarks

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.

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1