TokenValidatedContext TokenValidatedContext TokenValidatedContext TokenValidatedContext Class

Definition

public ref class TokenValidatedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^>
public class TokenValidatedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>
type TokenValidatedContext = class
    inherit RemoteAuthenticationContext<OpenIdConnectOptions>
Public Class TokenValidatedContext
Inherits RemoteAuthenticationContext(Of OpenIdConnectOptions)
Inheritance

Constructors

TokenValidatedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, ClaimsPrincipal, AuthenticationProperties) TokenValidatedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, ClaimsPrincipal, AuthenticationProperties) TokenValidatedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, ClaimsPrincipal, AuthenticationProperties) TokenValidatedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, ClaimsPrincipal, AuthenticationProperties)

Creates a TokenValidatedContext

TokenValidatedContext(HttpContext, OpenIdConnectOptions) TokenValidatedContext(HttpContext, OpenIdConnectOptions) TokenValidatedContext(HttpContext, OpenIdConnectOptions) TokenValidatedContext(HttpContext, OpenIdConnectOptions)

Creates a TokenValidatedContext

Properties

HttpContext HttpContext HttpContext HttpContext

The context.

(Inherited from BaseContext<TOptions>)
Nonce Nonce Nonce Nonce
Options Options Options Options

Gets the authentication options associated with the scheme.

(Inherited from BaseContext<TOptions>)
Principal Principal Principal Principal

Gets the ClaimsPrincipal containing the user claims.

(Inherited from RemoteAuthenticationContext<TOptions>)
Properties Properties Properties Properties
ProtocolMessage ProtocolMessage ProtocolMessage ProtocolMessage
Request Request Request Request

The request.

(Inherited from BaseContext<TOptions>)
Response Response Response Response

The response.

(Inherited from BaseContext<TOptions>)
Result Result Result Result

The HandleRequestResult which is used by the handler.

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

The authentication scheme.

(Inherited from BaseContext<TOptions>)
SecurityToken SecurityToken SecurityToken SecurityToken
TokenEndpointResponse TokenEndpointResponse TokenEndpointResponse TokenEndpointResponse

Methods

Fail(Exception) Fail(Exception) Fail(Exception) Fail(Exception) Inherited from RemoteAuthenticationContext<TOptions>
Fail(String) Fail(String) Fail(String) Fail(String) Inherited from RemoteAuthenticationContext<TOptions>
HandleResponse() 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() SkipHandler()

Discontinue processing the request in the current handler.

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

Calls success creating a ticket with the Principal and Properties.

(Inherited from RemoteAuthenticationContext<TOptions>)

Applies to