Partage via


Saml2AuthenticationStatement Constructeurs

Définition

Initialise une nouvelle instance de la classe Saml2AuthenticationStatement.

Surcharges

Saml2AuthenticationStatement(Saml2AuthenticationContext)

Initialise une nouvelle instance de la classe Saml2AuthenticationStatement avec le contexte d'authentification spécifié et l'heure actuelle comme moment d'authentification.

Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)

Initialise une nouvelle instance de la classe Saml2AuthenticationStatement avec le contexte et l'heure d'authentification spécifiés.

Saml2AuthenticationStatement(Saml2AuthenticationContext)

Initialise une nouvelle instance de la classe Saml2AuthenticationStatement avec le contexte d'authentification spécifié et l'heure actuelle comme moment d'authentification.

public:
 Saml2AuthenticationStatement(System::IdentityModel::Tokens::Saml2AuthenticationContext ^ authenticationContext);
public Saml2AuthenticationStatement (System.IdentityModel.Tokens.Saml2AuthenticationContext authenticationContext);
new System.IdentityModel.Tokens.Saml2AuthenticationStatement : System.IdentityModel.Tokens.Saml2AuthenticationContext -> System.IdentityModel.Tokens.Saml2AuthenticationStatement
Public Sub New (authenticationContext As Saml2AuthenticationContext)

Paramètres

authenticationContext
Saml2AuthenticationContext

Contexte d'identification de cette instruction.

Exceptions

authenticationContext a la valeur null.

Remarques

La propriété AuthenticationInstant est définie sur UtcNow.

S’applique à

Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)

Initialise une nouvelle instance de la classe Saml2AuthenticationStatement avec le contexte et l'heure d'authentification spécifiés.

public:
 Saml2AuthenticationStatement(System::IdentityModel::Tokens::Saml2AuthenticationContext ^ authenticationContext, DateTime authenticationInstant);
public Saml2AuthenticationStatement (System.IdentityModel.Tokens.Saml2AuthenticationContext authenticationContext, DateTime authenticationInstant);
new System.IdentityModel.Tokens.Saml2AuthenticationStatement : System.IdentityModel.Tokens.Saml2AuthenticationContext * DateTime -> System.IdentityModel.Tokens.Saml2AuthenticationStatement
Public Sub New (authenticationContext As Saml2AuthenticationContext, authenticationInstant As DateTime)

Paramètres

authenticationContext
Saml2AuthenticationContext

Contexte d'identification de cette instruction.

authenticationInstant
DateTime

Heure de l'authentification.

Exceptions

authenticationContext a la valeur null.

S’applique à