Dela via


HandleRequestContext<TOptions> Class

Definition

Base context type for handling authentication request.

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)

Type Parameters

TOptions
Inheritance
HandleRequestContext<TOptions>
Derived

Constructors

HandleRequestContext<TOptions>(HttpContext, AuthenticationScheme, TOptions)

Initializes a new instance of HandleRequestContext<TOptions>.

Properties

HttpContext

The context.

(Inherited from BaseContext<TOptions>)
Options

Gets the authentication options associated with the scheme.

(Inherited from BaseContext<TOptions>)
Request

The request.

(Inherited from BaseContext<TOptions>)
Response

The response.

(Inherited from BaseContext<TOptions>)
Result

The HandleRequestResult which is used by the handler.

Scheme

The authentication scheme.

(Inherited from BaseContext<TOptions>)

Methods

HandleResponse()

Discontinue all processing for this request and return to the client. The caller is responsible for generating the full response.

SkipHandler()

Discontinue processing the request in the current handler.

Applies to