OAuthEvents Class

Definition

Default implementation.

public ref class OAuthEvents : Microsoft::AspNetCore::Authentication::RemoteAuthenticationEvents, Microsoft::AspNetCore::Authentication::OAuth::IOAuthEvents
public ref class OAuthEvents : Microsoft::AspNetCore::Authentication::RemoteAuthenticationEvents
public class OAuthEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents, Microsoft.AspNetCore.Authentication.OAuth.IOAuthEvents
public class OAuthEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents
type OAuthEvents = class
    inherit RemoteAuthenticationEvents
    interface IOAuthEvents
    interface IRemoteAuthenticationEvents
type OAuthEvents = class
    inherit RemoteAuthenticationEvents
Public Class OAuthEvents
Inherits RemoteAuthenticationEvents
Implements IOAuthEvents
Public Class OAuthEvents
Inherits RemoteAuthenticationEvents
Inheritance
Implements

Constructors

OAuthEvents()

Properties

OnAccessDenied

Invoked when an access denied error was returned by the remote server.

(Inherited from RemoteAuthenticationEvents)
OnCreatingTicket

Gets or sets the function that is invoked when the CreatingTicket method is invoked.

OnRedirectToAuthorizationEndpoint

Gets or sets the delegate that is invoked when the RedirectToAuthorizationEndpoint method is invoked.

OnRemoteFailure

Invoked when there is a remote failure.

(Inherited from RemoteAuthenticationEvents)
OnTicketReceived

Invoked after the remote ticket has been received.

(Inherited from RemoteAuthenticationEvents)

Methods

AccessDenied(AccessDeniedContext)

Invoked when an access denied error was returned by the remote server.

(Inherited from RemoteAuthenticationEvents)
CreatingTicket(OAuthCreatingTicketContext)

Invoked after the provider successfully authenticates a user.

RedirectToAuthorizationEndpoint(OAuthRedirectToAuthorizationContext)

Called when a Challenge causes a redirect to authorize endpoint in the OAuth middleware.

RedirectToAuthorizationEndpoint(RedirectContext<OAuthOptions>)

Called when a Challenge causes a redirect to authorize endpoint in the OAuth handler.

RemoteFailure(FailureContext)

Invoked when there is a remote failure

(Inherited from RemoteAuthenticationEvents)
RemoteFailure(RemoteFailureContext)

Invoked when there is a remote failure.

(Inherited from RemoteAuthenticationEvents)
TicketReceived(TicketReceivedContext)

Invoked after the remote ticket has been received.

(Inherited from RemoteAuthenticationEvents)

Applies to