SecurityTokenDescriptor.AddAuthenticationClaims メソッド

定義

指定した認証要求を現在のインスタンスのサブジェクトに追加します。

オーバーロード

名前 説明
AddAuthenticationClaims(String)

指定した認証方法の要求を現在のインスタンスのサブジェクトに追加します。 認証インスタントは現在の時刻に設定されます。

AddAuthenticationClaims(String, DateTime)

指定した認証の種類と認証インスタントの要求を現在のインスタンスのサブジェクトに追加します。

AddAuthenticationClaims(String)

指定した認証方法の要求を現在のインスタンスのサブジェクトに追加します。 認証インスタントは現在の時刻に設定されます。

public:
 void AddAuthenticationClaims(System::String ^ authType);
public void AddAuthenticationClaims(string authType);
member this.AddAuthenticationClaims : string -> unit
Public Sub AddAuthenticationClaims (authType As String)

パラメーター

authType
String

認証方法を指定する URI。

注釈

要求の種類がClaimAuthenticationMethodauthTypeの値、および要求の種類がClaimAuthenticationInstantUtcNowの値が、ClaimsIdentity プロパティで指定されたSubjectに追加されます。

適用対象

AddAuthenticationClaims(String, DateTime)

指定した認証の種類と認証インスタントの要求を現在のインスタンスのサブジェクトに追加します。

public:
 void AddAuthenticationClaims(System::String ^ authType, DateTime time);
public void AddAuthenticationClaims(string authType, DateTime time);
member this.AddAuthenticationClaims : string * DateTime -> unit
Public Sub AddAuthenticationClaims (authType As String, time As DateTime)

パラメーター

authType
String

認証方法を指定する URI。

time
DateTime

認証のインスタント (UTC)。 時刻が UTC でない場合は、UTC に変換されます。

注釈

要求の種類がClaimAuthenticationMethodauthTypeの値、および要求の種類がClaimAuthenticationInstanttimeの値が、ClaimsIdentity プロパティで指定されたSubjectに追加されます。

適用対象