RedirectContext RedirectContext RedirectContext RedirectContext Class

Definition

When a user configures the OpenIdConnectHandler to be notified prior to redirecting to an IdentityProvider an instance of RedirectContext is passed to the 'RedirectToAuthenticationEndpoint' or 'RedirectToEndSessionEndpoint' events.

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

Constructors

RedirectContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, AuthenticationProperties) RedirectContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, AuthenticationProperties) RedirectContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, AuthenticationProperties) RedirectContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, AuthenticationProperties)
RedirectContext(HttpContext, OpenIdConnectOptions, AuthenticationProperties) RedirectContext(HttpContext, OpenIdConnectOptions, AuthenticationProperties) RedirectContext(HttpContext, OpenIdConnectOptions, AuthenticationProperties) RedirectContext(HttpContext, OpenIdConnectOptions, AuthenticationProperties)

Properties

Handled Handled Handled Handled

If true, will skip any default logic for this redirect.

HttpContext HttpContext HttpContext HttpContext

The context.

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

Gets the authentication options associated with the scheme.

(Inherited from BaseContext<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>)
Scheme Scheme Scheme Scheme

The authentication scheme.

(Inherited from BaseContext<TOptions>)

Methods

HandleResponse() HandleResponse() HandleResponse() HandleResponse()

Skips any default logic for this redirect.

Applies to