IOAuthEvents Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |