Dela via


WsFederationEvents Class

Definition

Specifies events which the WsFederationHandler invokes to enable developer control over the authentication process. />

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

Constructors

WsFederationEvents()

Properties

OnAccessDenied

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

(Inherited from RemoteAuthenticationEvents)
OnAuthenticationFailed

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

OnMessageReceived

Invoked when a protocol message is first received.

OnRedirectToIdentityProvider

Invoked to manipulate redirects to the identity provider for SignIn, SignOut, or Challenge.

OnRemoteFailure

Invoked when there is a remote failure.

(Inherited from RemoteAuthenticationEvents)
OnRemoteSignOut

Invoked when a wsignoutcleanup request is received at the RemoteSignOutPath endpoint.

OnSecurityTokenReceived

Invoked with the security token that has been extracted from the protocol message.

OnSecurityTokenValidated

Invoked after the security token has passed validation and a ClaimsIdentity has been generated.

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)
AuthenticationFailed(AuthenticationFailedContext)

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

MessageReceived(MessageReceivedContext)

Invoked when a protocol message is first received.

RedirectToIdentityProvider(RedirectContext)

Invoked to manipulate redirects to the identity provider for SignIn, SignOut, or Challenge.

RemoteFailure(FailureContext)

Invoked when there is a remote failure

(Inherited from RemoteAuthenticationEvents)
RemoteFailure(RemoteFailureContext)

Invoked when there is a remote failure.

(Inherited from RemoteAuthenticationEvents)
RemoteSignOut(RemoteSignOutContext)

Invoked when a wsignoutcleanup request is received at the RemoteSignOutPath endpoint.

SecurityTokenReceived(SecurityTokenReceivedContext)

Invoked with the security token that has been extracted from the protocol message.

SecurityTokenValidated(SecurityTokenValidatedContext)

Invoked after the security token has passed validation and a ClaimsIdentity has been generated.

TicketReceived(TicketReceivedContext)

Invoked after the remote ticket has been received.

(Inherited from RemoteAuthenticationEvents)

Applies to