IOpenIdConnectEvents IOpenIdConnectEvents IOpenIdConnectEvents IOpenIdConnectEvents Interface

Definition

Specifies events which the OpenIdConnectMiddlewareinvokes to enable developer control over the authentication process.

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

Methods

AuthenticationFailed(AuthenticationFailedContext) AuthenticationFailed(AuthenticationFailedContext) AuthenticationFailed(AuthenticationFailedContext) AuthenticationFailed(AuthenticationFailedContext)

Invoked if exceptions are thrown during request processing. The exceptions will be re-thrown after this event unless suppressed.

AuthorizationCodeReceived(AuthorizationCodeReceivedContext) AuthorizationCodeReceived(AuthorizationCodeReceivedContext) AuthorizationCodeReceived(AuthorizationCodeReceivedContext) AuthorizationCodeReceived(AuthorizationCodeReceivedContext)

Invoked after security token validation if an authorization code is present in the protocol message.

MessageReceived(MessageReceivedContext) MessageReceived(MessageReceivedContext) MessageReceived(MessageReceivedContext) MessageReceived(MessageReceivedContext)

Invoked when a protocol message is first received.

RedirectToIdentityProvider(RedirectContext) RedirectToIdentityProvider(RedirectContext) RedirectToIdentityProvider(RedirectContext) RedirectToIdentityProvider(RedirectContext)

Invoked before redirecting to the identity provider to authenticate.

RedirectToIdentityProviderForSignOut(RedirectContext) RedirectToIdentityProviderForSignOut(RedirectContext) RedirectToIdentityProviderForSignOut(RedirectContext) RedirectToIdentityProviderForSignOut(RedirectContext)

Invoked before redirecting to the identity provider to sign out.

RemoteFailure(FailureContext) RemoteFailure(FailureContext) RemoteFailure(FailureContext) RemoteFailure(FailureContext)

Invoked when the remote authentication process has an error.

(Inherited from IRemoteAuthenticationEvents)
RemoteSignOut(RemoteSignOutContext) RemoteSignOut(RemoteSignOutContext) RemoteSignOut(RemoteSignOutContext) RemoteSignOut(RemoteSignOutContext)

Invoked when a request is received on the RemoteSignOutPath.

TicketReceived(TicketReceivedContext) TicketReceived(TicketReceivedContext) TicketReceived(TicketReceivedContext) TicketReceived(TicketReceivedContext)

Invoked before sign in.

(Inherited from IRemoteAuthenticationEvents)
TokenResponseReceived(TokenResponseReceivedContext) TokenResponseReceived(TokenResponseReceivedContext) TokenResponseReceived(TokenResponseReceivedContext) TokenResponseReceived(TokenResponseReceivedContext)

Invoked after "authorization code" is redeemed for tokens at the token endpoint.

TokenValidated(TokenValidatedContext) TokenValidated(TokenValidatedContext) TokenValidated(TokenValidatedContext) TokenValidated(TokenValidatedContext)

Invoked when an IdToken has been validated and produced an AuthenticationTicket.

UserInformationReceived(UserInformationReceivedContext) UserInformationReceived(UserInformationReceivedContext) UserInformationReceived(UserInformationReceivedContext) UserInformationReceived(UserInformationReceivedContext)

Invoked when user information is retrieved from the UserInfoEndpoint.

Applies to