Bewerken

Share via


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.

protected:
 SamlSecurityToken();
protected SamlSecurityToken ();
Protected Sub New ()

Applies to

SamlSecurityToken(SamlAssertion)

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

public:
 SamlSecurityToken(System::IdentityModel::Tokens::SamlAssertion ^ assertion);
public SamlSecurityToken (System.IdentityModel.Tokens.SamlAssertion assertion);
new System.IdentityModel.Tokens.SamlSecurityToken : System.IdentityModel.Tokens.SamlAssertion -> System.IdentityModel.Tokens.SamlSecurityToken
Public Sub New (assertion As SamlAssertion)

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