OpenIdConnectEvents OpenIdConnectEvents OpenIdConnectEvents OpenIdConnectEvents Class

Definition

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

public ref class OpenIdConnectEvents : Microsoft::AspNetCore::Authentication::RemoteAuthenticationEvents
public class OpenIdConnectEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents
type OpenIdConnectEvents = class
    inherit RemoteAuthenticationEvents
Public Class OpenIdConnectEvents
Inherits RemoteAuthenticationEvents
Inheritance

Constructors

OpenIdConnectEvents() OpenIdConnectEvents() OpenIdConnectEvents() OpenIdConnectEvents()

Properties

OnAccessDenied OnAccessDenied OnAccessDenied OnAccessDenied Inherited from RemoteAuthenticationEvents
OnAuthenticationFailed OnAuthenticationFailed OnAuthenticationFailed OnAuthenticationFailed

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

OnAuthorizationCodeReceived OnAuthorizationCodeReceived OnAuthorizationCodeReceived OnAuthorizationCodeReceived

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

OnMessageReceived OnMessageReceived OnMessageReceived OnMessageReceived

Invoked when a protocol message is first received.

OnRedirectToIdentityProvider OnRedirectToIdentityProvider OnRedirectToIdentityProvider OnRedirectToIdentityProvider

Invoked before redirecting to the identity provider to authenticate. This can be used to set ProtocolMessage.State that will be persisted through the authentication process. The ProtocolMessage can also be used to add or customize parameters sent to the identity provider.

OnRedirectToIdentityProviderForSignOut OnRedirectToIdentityProviderForSignOut OnRedirectToIdentityProviderForSignOut OnRedirectToIdentityProviderForSignOut

Invoked before redirecting to the identity provider to sign out.

OnRemoteFailure OnRemoteFailure OnRemoteFailure OnRemoteFailure Inherited from RemoteAuthenticationEvents
OnRemoteSignOut OnRemoteSignOut OnRemoteSignOut OnRemoteSignOut

Invoked when a request is received on the RemoteSignOutPath.

OnSignedOutCallbackRedirect OnSignedOutCallbackRedirect OnSignedOutCallbackRedirect OnSignedOutCallbackRedirect

Invoked before redirecting to the SignedOutRedirectUri at the end of a remote sign-out flow.

OnTicketReceived OnTicketReceived OnTicketReceived OnTicketReceived Inherited from RemoteAuthenticationEvents
OnTokenResponseReceived OnTokenResponseReceived OnTokenResponseReceived OnTokenResponseReceived

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

OnTokenValidated OnTokenValidated OnTokenValidated OnTokenValidated

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

OnUserInformationReceived OnUserInformationReceived OnUserInformationReceived OnUserInformationReceived

Invoked when user information is retrieved from the UserInfoEndpoint.

Methods

AccessDenied(AccessDeniedContext) AccessDenied(AccessDeniedContext) AccessDenied(AccessDeniedContext) AccessDenied(AccessDeniedContext)

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

(Inherited from RemoteAuthenticationEvents)
AuthenticationFailed(AuthenticationFailedContext) AuthenticationFailed(AuthenticationFailedContext) AuthenticationFailed(AuthenticationFailedContext) AuthenticationFailed(AuthenticationFailedContext)
AuthorizationCodeReceived(AuthorizationCodeReceivedContext) AuthorizationCodeReceived(AuthorizationCodeReceivedContext) AuthorizationCodeReceived(AuthorizationCodeReceivedContext) AuthorizationCodeReceived(AuthorizationCodeReceivedContext)
MessageReceived(MessageReceivedContext) MessageReceived(MessageReceivedContext) MessageReceived(MessageReceivedContext) MessageReceived(MessageReceivedContext)
RedirectToIdentityProvider(RedirectContext) RedirectToIdentityProvider(RedirectContext) RedirectToIdentityProvider(RedirectContext) RedirectToIdentityProvider(RedirectContext)
RedirectToIdentityProviderForSignOut(RedirectContext) RedirectToIdentityProviderForSignOut(RedirectContext) RedirectToIdentityProviderForSignOut(RedirectContext) RedirectToIdentityProviderForSignOut(RedirectContext)
RemoteFailure(FailureContext) RemoteFailure(FailureContext) RemoteFailure(FailureContext) RemoteFailure(FailureContext)

Invoked when there is a remote failure

(Inherited from RemoteAuthenticationEvents)
RemoteFailure(RemoteFailureContext) RemoteFailure(RemoteFailureContext) RemoteFailure(RemoteFailureContext) RemoteFailure(RemoteFailureContext)

Invoked when there is a remote failure.

(Inherited from RemoteAuthenticationEvents)
RemoteSignOut(RemoteSignOutContext) RemoteSignOut(RemoteSignOutContext) RemoteSignOut(RemoteSignOutContext) RemoteSignOut(RemoteSignOutContext)
SignedOutCallbackRedirect(RemoteSignOutContext) SignedOutCallbackRedirect(RemoteSignOutContext) SignedOutCallbackRedirect(RemoteSignOutContext) SignedOutCallbackRedirect(RemoteSignOutContext)
TicketReceived(TicketReceivedContext) TicketReceived(TicketReceivedContext) TicketReceived(TicketReceivedContext) TicketReceived(TicketReceivedContext)

Invoked after the remote ticket has been received.

(Inherited from RemoteAuthenticationEvents)
TokenResponseReceived(TokenResponseReceivedContext) TokenResponseReceived(TokenResponseReceivedContext) TokenResponseReceived(TokenResponseReceivedContext) TokenResponseReceived(TokenResponseReceivedContext)
TokenValidated(TokenValidatedContext) TokenValidated(TokenValidatedContext) TokenValidated(TokenValidatedContext) TokenValidated(TokenValidatedContext)
UserInformationReceived(UserInformationReceivedContext) UserInformationReceived(UserInformationReceivedContext) UserInformationReceived(UserInformationReceivedContext) UserInformationReceived(UserInformationReceivedContext)

Applies to