OpenIdConnectChallengeProperties 類別

定義

AuthenticationProperties 適用于 OpenId Connect 挑戰。

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

建構函式

OpenIdConnectChallengeProperties()

初始化 OpenIdConnectChallengeProperties 的新執行個體。

OpenIdConnectChallengeProperties(IDictionary<String,String>)

初始化 OpenIdConnectChallengeProperties 的新執行個體。

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

初始化 OpenIdConnectChallengeProperties 的新執行個體。

欄位

MaxAgeKey

用於挑戰要求之 「max_age」 引數的參數索引鍵。

PromptKey

用於挑戰要求之 「prompt」 引數的參數索引鍵。

屬性

AllowRefresh

取得或設定是否應該允許重新整理驗證工作階段。

(繼承來源 AuthenticationProperties)
ExpiresUtc

取得或設定驗證票證到期的時間。

(繼承來源 AuthenticationProperties)
IsPersistent

取得或設定驗證工作階段是否跨多個要求而持續有效。

(繼承來源 AuthenticationProperties)
IssuedUtc

取得或設定驗證票證的簽發時間。

(繼承來源 AuthenticationProperties)
Items

驗證工作階段的相關狀態值。

(繼承來源 AuthenticationProperties)
MaxAge

用於挑戰要求的 「max_age」 參數值。

Parameters

傳遞至驗證處理常式的參數集合。 這些不適用於序列化或持續性,僅適用于在呼叫月臺之間流動資料。

(繼承來源 AuthenticationProperties)
Prompt

用於挑戰要求的 「prompt」 參數值。

RedirectUri

取得或設定要用做 HTTP 重新導向回應值的完整路徑或絕對 URI。

(繼承來源 AuthenticationProperties)
Scope

用於挑戰要求的 「scope」 參數值。

(繼承來源 OAuthChallengeProperties)

方法

Clone()

傳回復本。

(繼承來源 AuthenticationProperties)
GetBool(String)

從集合取得可為 Boolean Null 的 Items

(繼承來源 AuthenticationProperties)
GetDateTimeOffset(String)

Items 集合取得可為 DateTimeOffset Null 的值。

(繼承來源 AuthenticationProperties)
GetParameter<T>(String)

從集合取得 Parameters 參數。

(繼承來源 AuthenticationProperties)
GetString(String)

Items 集合取得字串值。

(繼承來源 AuthenticationProperties)
SetBool(String, Nullable<Boolean>)

設定或移除 Boolean 集合中的 Items 值。

(繼承來源 AuthenticationProperties)
SetDateTimeOffset(String, Nullable<DateTimeOffset>)

設定或移除 DateTimeOffset 集合中的 Items 值。

(繼承來源 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)

如果已存在,更新權杖的值。

適用於