Share via


MicrosoftChallengeProperties クラス

定義

public ref class MicrosoftChallengeProperties : Microsoft::AspNetCore::Authentication::OAuth::OAuthChallengeProperties
public class MicrosoftChallengeProperties : Microsoft.AspNetCore.Authentication.OAuth.OAuthChallengeProperties
type MicrosoftChallengeProperties = class
    inherit OAuthChallengeProperties
Public Class MicrosoftChallengeProperties
Inherits OAuthChallengeProperties
継承

コンストラクター

MicrosoftChallengeProperties()

の新しいインスタンスを MicrosoftChallengeProperties初期化します。

MicrosoftChallengeProperties(IDictionary<String,String>)

の新しいインスタンスを MicrosoftChallengeProperties初期化します。

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

の新しいインスタンスを MicrosoftChallengeProperties初期化します。

フィールド

DomainHintKey

チャレンジ要求に使用される "domain_hint" 引数のパラメーター キー。

LoginHintKey

チャレンジ要求に使用される "login_hint" 引数のパラメーター キー。

PromptKey

チャレンジ要求に使用される "prompt" 引数のパラメーター キー。

ResponseModeKey
古い.

チャレンジ要求に使用される "response_mode" 引数のパラメーター キー。

プロパティ

AllowRefresh

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

(継承元 AuthenticationProperties)
DomainHint

チャレンジ要求に使用される "domain_hint" パラメーター値の値を取得または設定します。

含まれている場合、認証では、ユーザーがサインイン ページで実行する電子メール ベースの検出プロセスがスキップされ、ユーザー エクスペリエンスが少し合理化されます。

ExpiresUtc

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

(継承元 AuthenticationProperties)
IsPersistent

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

(継承元 AuthenticationProperties)
IssuedUtc

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

(継承元 AuthenticationProperties)
Items

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

(継承元 AuthenticationProperties)
LoginHint

チャレンジ要求に使用される "login_hint" パラメーター値の値を取得または設定します。

ユーザー名が事前にわかっている場合は、ユーザーのサインイン ページのユーザー名/メール アドレス フィールドを事前入力するために使用できます。

Parameters

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

(継承元 AuthenticationProperties)
Prompt

チャレンジ要求に使用される "prompt" パラメーター値の値を取得または設定します。

ユーザーとの必要な対話の種類を指定します。 現時点で有効な値は、login、none、consent のみです。

RedirectUri

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

(継承元 AuthenticationProperties)
ResponseMode
古い.

チャレンジ要求に使用されるパラメーターの値を response_mode 取得または設定します。 応答モードでは、結果のトークンをアプリに送り返すために使用するメソッドを指定します。 使用できる値は、 queryfragmentform_postのいずれかです。

Scope

チャレンジ要求に使用される "スコープ" パラメーター値。

(継承元 OAuthChallengeProperties)

メソッド

Clone()

コピーを返します。

(継承元 AuthenticationProperties)
GetBool(String)

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

(継承元 AuthenticationProperties)
GetDateTimeOffset(String)

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

(継承元 AuthenticationProperties)
GetParameter<T>(String)

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

(継承元 AuthenticationProperties)
GetString(String)

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

(継承元 AuthenticationProperties)
SetBool(String, Nullable<Boolean>)

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

(継承元 AuthenticationProperties)
SetDateTimeOffset(String, Nullable<DateTimeOffset>)

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

(継承元 AuthenticationProperties)
SetParameter<T>(String, T)

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

(継承元 AuthenticationProperties)
SetScope(String[])

"scope" パラメーター値を設定します。

(継承元 OAuthChallengeProperties)
SetString(String, String)

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

(継承元 AuthenticationProperties)

拡張メソッド

GetTokens(AuthenticationProperties)

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

GetTokenValue(AuthenticationProperties, String)

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

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

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

UpdateTokenValue(AuthenticationProperties, String, String)

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

適用対象