AuthenticationProperties クラス

定義

認証セッションに関する状態値を格納するためのディクショナリ。

public ref class AuthenticationProperties
public class AuthenticationProperties
type AuthenticationProperties = class
Public Class AuthenticationProperties
継承
AuthenticationProperties
派生

コンストラクター

AuthenticationProperties()

AuthenticationProperties クラスの新しいインスタンスを初期化します。

AuthenticationProperties(IDictionary<String,String>)

AuthenticationProperties クラスの新しいインスタンスを初期化します。

AuthenticationProperties(IDictionary<String,String>, IDictionary<String,Object>)

AuthenticationProperties クラスの新しいインスタンスを初期化します。

プロパティ

AllowRefresh

認証セッションの更新を許可するかどうかの値を取得または設定します。

ExpiresUtc

認証チケットの有効期限が切れる日時を取得または設定します。

IsPersistent

認証セッションを複数の要求にわたって保持するかどうかの値を取得または設定します。

IssuedUtc

認証チケットが発行された日時を取得または設定します。

Items

認証セッションに関する状態値。

Parameters

認証ハンドラーに渡されるパラメーターのコレクション。 これらは、シリアル化や永続化を目的としたものではなく、呼び出しサイト間でのデータのフローのみを目的としています。

RedirectUri

http のリダイレクト応答値として使用される完全パスまたは絶対 URI を取得または設定します。

メソッド

Clone()

コピーを返します。

GetBool(String)

コレクションから null 許容 Boolean を取得します Items

GetDateTimeOffset(String)

コレクションから null 許容 DateTimeOffset 値を取得します Items

GetParameter<T>(String)

コレクションからパラメーターを Parameters 取得します。

GetString(String)

コレクションから文字列値を取得します Items

SetBool(String, Nullable<Boolean>)

コレクション内の値を Boolean 設定または削除します Items

SetDateTimeOffset(String, Nullable<DateTimeOffset>)

コレクション内Itemsの値をDateTimeOffset設定または削除します。

SetParameter<T>(String, T)

コレクションにパラメーター値を Parameters 設定します。

SetString(String, String)

コレクションの文字列値を設定または削除します Items

拡張メソッド

GetTokens(AuthenticationProperties)

プロパティに AuthenticationToken 含まれるすべてのインスタンスを返します。

GetTokenValue(AuthenticationProperties, String)

トークンの値を返します。

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

古いトークンを削除した後、認証トークンのセットを格納します。

UpdateTokenValue(AuthenticationProperties, String, String)

トークンの値が既に存在する場合は、その値を更新します。

適用対象