Sdílet prostřednictvím


Saml2AuthenticationStatement Konstruktory

Definice

Inicializuje novou instanci Saml2AuthenticationStatement třídy .

Přetížení

Saml2AuthenticationStatement(Saml2AuthenticationContext)

Inicializuje novou instanci Saml2AuthenticationStatement třídy se zadaným kontextem ověřování a aktuálním časem jako okamžik ověřování.

Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)

Inicializuje novou instanci Saml2AuthenticationStatement třídy se zadaným kontextem ověřování a časem ověřování.

Saml2AuthenticationStatement(Saml2AuthenticationContext)

Inicializuje novou instanci Saml2AuthenticationStatement třídy se zadaným kontextem ověřování a aktuálním časem jako okamžik ověřování.

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)

Parametry

authenticationContext
Saml2AuthenticationContext

Kontext ověřování tohoto příkazu.

Výjimky

authenticationContext je null.

Poznámky

Vlastnost AuthenticationInstant je nastavena na hodnotu UtcNow.

Platí pro

Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)

Inicializuje novou instanci Saml2AuthenticationStatement třídy se zadaným kontextem ověřování a časem ověřování.

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)

Parametry

authenticationContext
Saml2AuthenticationContext

Kontext ověřování tohoto příkazu.

authenticationInstant
DateTime

Čas ověřování.

Výjimky

authenticationContext je null.

Platí pro