Partager via


Saml2SecurityToken(Saml2Assertion) Constructor

Definition

Initializes an instance of Saml2SecurityToken from a Saml2Assertion.

public Saml2SecurityToken (Microsoft.IdentityModel.Tokens.Saml2.Saml2Assertion assertion);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityToken : Microsoft.IdentityModel.Tokens.Saml2.Saml2Assertion -> Microsoft.IdentityModel.Tokens.Saml2.Saml2SecurityToken
Public Sub New (assertion As Saml2Assertion)

Parameters

assertion
Saml2Assertion

A Saml2Assertion to initialize from.

Exceptions

if assertion is null.

Applies to