HandleRequestContext<TOptions> Sınıf

Tanım

Kimlik doğrulama isteğini işlemek için temel bağlam türü.

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)

Tür Parametreleri

TOptions
Devralma
HandleRequestContext<TOptions>
Türetilmiş

Oluşturucular

HandleRequestContext<TOptions>(HttpContext, AuthenticationScheme, TOptions)

yeni bir örneğini HandleRequestContext<TOptions>başlatır.

Özellikler

HttpContext

Bağlam.

(Devralındığı yer: BaseContext<TOptions>)
Options

Şemayla ilişkili kimlik doğrulama seçeneklerini alır.

(Devralındığı yer: BaseContext<TOptions>)
Request

İstek.

(Devralındığı yer: BaseContext<TOptions>)
Response

Yanıt.

(Devralındığı yer: BaseContext<TOptions>)
Result

HandleRequestResult İşleyici tarafından kullanılan.

Scheme

Kimlik doğrulama düzeni.

(Devralındığı yer: BaseContext<TOptions>)

Yöntemler

HandleResponse()

Bu istek için tüm işlemleri sonlandırın ve istemciye dönün. Arayan, tam yanıtı oluşturmakla sorumludur.

SkipHandler()

Geçerli işleyicide isteğin işlenmesini sonlandırın.

Şunlara uygulanır