Megosztás a következőn keresztül:


IOAuthEvents Interface

Definition

Specifies callback methods which the OAuthMiddleware<TOptions> invokes to enable developer control over the authentication process.

public interface class IOAuthEvents : Microsoft::AspNetCore::Authentication::IRemoteAuthenticationEvents
public interface IOAuthEvents : Microsoft.AspNetCore.Authentication.IRemoteAuthenticationEvents
type IOAuthEvents = interface
    interface IRemoteAuthenticationEvents
Public Interface IOAuthEvents
Implements IRemoteAuthenticationEvents
Derived
Implements

Methods

CreatingTicket(OAuthCreatingTicketContext)

Invoked after the provider successfully authenticates a user. This can be used to retrieve user information. This event may not be invoked by sub-classes of OAuthAuthenticationHandler if they override CreateTicketAsync.

RedirectToAuthorizationEndpoint(OAuthRedirectToAuthorizationContext)

Called when a Challenge causes a redirect to the authorize endpoint.

RemoteFailure(FailureContext)

Invoked when the remote authentication process has an error.

(Inherited from IRemoteAuthenticationEvents)
TicketReceived(TicketReceivedContext)

Invoked before sign in.

(Inherited from IRemoteAuthenticationEvents)

Applies to