PrincipalContext<TOptions> クラス

定義

ClaimsPrincipal を処理する認証イベントの基本コンテキスト。

generic <typename TOptions>
 where TOptions : AuthenticationSchemeOptionspublic ref class PrincipalContext abstract : Microsoft::AspNetCore::Authentication::PropertiesContext<TOptions>
public abstract class PrincipalContext<TOptions> : Microsoft.AspNetCore.Authentication.PropertiesContext<TOptions> where TOptions : AuthenticationSchemeOptions
type PrincipalContext<'Options (requires 'Options :> AuthenticationSchemeOptions)> = class
    inherit PropertiesContext<'Options (requires 'Options :> AuthenticationSchemeOptions)>
Public MustInherit Class PrincipalContext(Of TOptions)
Inherits PropertiesContext(Of TOptions)

型パラメーター

TOptions
継承
派生

コンストラクター

PrincipalContext<TOptions>(HttpContext, AuthenticationScheme, TOptions, AuthenticationProperties)

コンストラクターです。

プロパティ

HttpContext

コンテキスト。

(継承元 BaseContext<TOptions>)
Options

スキームに関連付けられている認証オプションを取得します。

(継承元 BaseContext<TOptions>)
Principal

ユーザー要求を ClaimsPrincipal 含む を取得します。

Properties

AuthenticationProperties を取得または設定します。

(継承元 PropertiesContext<TOptions>)
Request

要求。

(継承元 BaseContext<TOptions>)
Response

応答。

(継承元 BaseContext<TOptions>)
Scheme

認証スキームです。

(継承元 BaseContext<TOptions>)

適用対象