RemoteAuthenticationContext<TOptions> RemoteAuthenticationContext<TOptions> RemoteAuthenticationContext<TOptions> Class

Definition

Base context for remote authentication.

public abstract class RemoteAuthenticationContext<TOptions> : Microsoft.AspNetCore.Authentication.HandleRequestContext<TOptions> where TOptions : AuthenticationSchemeOptions
type RemoteAuthenticationContext<'Options (requires 'Options :> AuthenticationSchemeOptions)> = class
    inherit HandleRequestContext<'Options (requires 'Options :> AuthenticationSchemeOptions)>
Public MustInherit Class RemoteAuthenticationContext(Of TOptions)
Inherits HandleRequestContext(Of TOptions)
Type Parameters
TOptions
Inheritance
Derived

Constructors

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

Constructor.

Properties

HttpContext HttpContext HttpContext

The context.

(Inherited from BaseContext<TOptions>)
Options Options Options

Gets the authentication options associated with the scheme.

(Inherited from BaseContext<TOptions>)
Principal Principal Principal

Gets the ClaimsPrincipal containing the user claims.

Properties Properties Properties

Gets or sets the AuthenticationProperties.

Request Request Request

The request.

(Inherited from BaseContext<TOptions>)
Response Response Response

The response.

(Inherited from BaseContext<TOptions>)
Result Result Result

The HandleRequestResult which is used by the handler.

(Inherited from HandleRequestContext<TOptions>)
Scheme Scheme Scheme

The authentication scheme.

(Inherited from BaseContext<TOptions>)

Methods

Fail(Exception) Fail(Exception) Fail(Exception)
Fail(String) Fail(String) Fail(String)
HandleResponse() HandleResponse() HandleResponse()

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

(Inherited from HandleRequestContext<TOptions>)
SkipHandler() SkipHandler() SkipHandler()

Discontinue processing the request in the current handler.

(Inherited from HandleRequestContext<TOptions>)
Success() Success() Success()

Calls success creating a ticket with the Principal and Properties.

Applies to