TicketReceivedContext Class

Definition

Provides context information to handler providers.

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

Constructors

TicketReceivedContext(HttpContext, AuthenticationScheme, RemoteAuthenticationOptions, AuthenticationTicket)
TicketReceivedContext(HttpContext, RemoteAuthenticationOptions, AuthenticationTicket)

Properties

HandledResponse (Inherited from BaseControlContext)
HttpContext

The context.

(Inherited from BaseContext<TOptions>)
Options
Principal
Properties
Request

The request.

(Inherited from BaseContext<TOptions>)
Response

The response.

(Inherited from BaseContext<TOptions>)
Result

The HandleRequestResult which is used by the handler.

(Inherited from HandleRequestContext<TOptions>)
ReturnUri
Scheme

The authentication scheme.

(Inherited from BaseContext<TOptions>)
Skipped (Inherited from BaseControlContext)
State (Inherited from BaseControlContext)
Ticket

Gets or set the Ticket to return if this event signals it handled the event.

(Inherited from BaseControlContext)

Methods

CheckEventResult(AuthenticateResult) (Inherited from BaseControlContext)
Fail(Exception) (Inherited from RemoteAuthenticationContext<TOptions>)
Fail(String) (Inherited from RemoteAuthenticationContext<TOptions>)
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()

Discontinue processing the request in the current handler.

(Inherited from HandleRequestContext<TOptions>)
SkipToNextMiddleware()

Discontinue processing the request in the current middleware and pass control to the next one. SignIn will not be called.

(Inherited from BaseControlContext)
Success()

Calls success creating a ticket with the Principal and Properties.

(Inherited from RemoteAuthenticationContext<TOptions>)

Applies to