Dela via


UserInformationReceivedContext Class

Definition

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

Constructors

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

Initializes a new instance of UserInformationReceivedContext.

UserInformationReceivedContext(HttpContext, OpenIdConnectOptions)

Properties

HandledResponse (Inherited from BaseControlContext)
HttpContext (Inherited from BaseContext)
HttpContext

The context.

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

Gets the authentication options associated with the scheme.

(Inherited from BaseContext<TOptions>)
Principal

Gets the ClaimsPrincipal containing the user claims.

(Inherited from RemoteAuthenticationContext<TOptions>)
Properties

Gets or sets the AuthenticationProperties.

(Inherited from RemoteAuthenticationContext<TOptions>)
ProtocolMessage

Gets or sets the OpenIdConnectMessage.

ProtocolMessage (Inherited from BaseOpenIdConnectContext)
Request (Inherited from BaseContext)
Request

The request.

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

The response.

(Inherited from BaseContext<TOptions>)
Result

The HandleRequestResult which is used by the handler.

(Inherited from HandleRequestContext<TOptions>)
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)
User

Gets or sets the user information payload.

Methods

CheckEventResult(AuthenticateResult) (Inherited from BaseControlContext)
Fail(Exception)

Indicates that authentication failed.

(Inherited from RemoteAuthenticationContext<TOptions>)
Fail(String)

Indicates that authentication failed.

(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. Set the Ticket to trigger SignIn.

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