Udostępnij za pośrednictwem


Saml2AuthenticationStatement Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy Saml2AuthenticationStatement.

Przeciążenia

Saml2AuthenticationStatement(Saml2AuthenticationContext)

Inicjuje nowe wystąpienie Saml2AuthenticationStatement klasy z określonym kontekstem uwierzytelniania i bieżącą godziną jako natychmiastowego uwierzytelniania.

Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)

Inicjuje Saml2AuthenticationStatement nowe wystąpienie klasy z określonym kontekstem uwierzytelniania i czasem uwierzytelniania.

Saml2AuthenticationStatement(Saml2AuthenticationContext)

Inicjuje nowe wystąpienie Saml2AuthenticationStatement klasy z określonym kontekstem uwierzytelniania i bieżącą godziną jako natychmiastowego uwierzytelniania.

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

Kontekst uwierzytelniania tej instrukcji.

Wyjątki

authenticationContext to null.

Uwagi

Właściwość AuthenticationInstant ma ustawioną wartość UtcNow.

Dotyczy

Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)

Inicjuje Saml2AuthenticationStatement nowe wystąpienie klasy z określonym kontekstem uwierzytelniania i czasem uwierzytelniania.

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

Kontekst uwierzytelniania tej instrukcji.

authenticationInstant
DateTime

Czas uwierzytelniania.

Wyjątki

authenticationContext to null.

Dotyczy