語言

Saml2AuthenticationStatement 建構函式

定義

初始化 Saml2AuthenticationStatement 類別的新執行個體。

多載

名稱 Description
Saml2AuthenticationStatement(Saml2AuthenticationContext)

初始化一個新的類別實例 Saml2AuthenticationStatement ,並以指定的認證上下文及當前時間作為認證瞬間。

Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)

初始化一個以指定的認證上下文與驗證時間的新類別實例 Saml2AuthenticationStatement 。

Saml2AuthenticationStatement(Saml2AuthenticationContext)

初始化一個新的類別實例 Saml2AuthenticationStatement ,並以指定的認證上下文及當前時間作為認證瞬間。

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)

參數

authenticationContext
Saml2AuthenticationContext

這句話的認證背景。

例外狀況

authenticationContext 是 null。

備註

AuthenticationInstant 屬性會設定為 UtcNow。

適用於

Saml2AuthenticationStatement(Saml2AuthenticationContext, DateTime)

初始化一個以指定的認證上下文與驗證時間的新類別實例 Saml2AuthenticationStatement 。

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)

參數

authenticationContext
Saml2AuthenticationContext

這句話的認證背景。

authenticationInstant
DateTime

驗證的時間。

例外狀況

authenticationContext 是 null。

適用於