HandleRequestContext<TOptions> クラス

定義

認証要求を処理するための基本コンテキストの種類。

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

型パラメーター

TOptions
継承
HandleRequestContext<TOptions>
派生

コンストラクター

HandleRequestContext<TOptions>(HttpContext, AuthenticationScheme, TOptions)

HandleRequestContext<TOptions> の新しいインスタンスを初期化します。

プロパティ

HttpContext

コンテキスト。

(継承元 BaseContext<TOptions>)
Options

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

(継承元 BaseContext<TOptions>)
Request

要求。

(継承元 BaseContext<TOptions>)
Response

応答。

(継承元 BaseContext<TOptions>)
Result

HandleRequestResultハンドラーによって使用される 。

Scheme

認証スキームです。

(継承元 BaseContext<TOptions>)

メソッド

HandleResponse()

この要求のすべての処理を中止し、クライアントに返します。 完全な応答を生成する作業は、呼び出し元で行う必要があります。

SkipHandler()

現在のハンドラーでの要求の処理を中止します。

適用対象