Επεξεργασία

Κοινή χρήση μέσω


Saml2AuthenticationStatement Constructors

Definition

Initializes a new instance of the Saml2AuthenticationStatement class.

Overloads

Saml2AuthenticationStatement(Saml2AuthenticationContext)

Initializes a new instance of the Saml2AuthenticationStatement class with the specified authentication context and the current time as the authentication instant.

Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)

Initializes a new instance of the Saml2AuthenticationStatement class with the specified authentication context and authentication time.

Saml2AuthenticationStatement(Saml2AuthenticationContext)

Initializes a new instance of the Saml2AuthenticationStatement class with the specified authentication context and the current time as the authentication instant.

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)

Parameters

authenticationContext
Saml2AuthenticationContext

The authentication context of this statement.

Exceptions

authenticationContext is null.

Remarks

The AuthenticationInstant property is set to UtcNow.

Applies to

Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)

Initializes a new instance of the Saml2AuthenticationStatement class with the specified authentication context and authentication time.

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)

Parameters

authenticationContext
Saml2AuthenticationContext

The authentication context of this statement.

authenticationInstant
DateTime

The time of the authentication.

Exceptions

authenticationContext is null.

Applies to