Dela via


TwitterEvents Class

Definition

Default TwitterEvents implementation.

public ref class TwitterEvents : Microsoft::AspNetCore::Authentication::RemoteAuthenticationEvents, Microsoft::AspNetCore::Authentication::Twitter::ITwitterEvents
public ref class TwitterEvents : Microsoft::AspNetCore::Authentication::RemoteAuthenticationEvents
public class TwitterEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents, Microsoft.AspNetCore.Authentication.Twitter.ITwitterEvents
public class TwitterEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents
type TwitterEvents = class
    inherit RemoteAuthenticationEvents
    interface ITwitterEvents
    interface IRemoteAuthenticationEvents
type TwitterEvents = class
    inherit RemoteAuthenticationEvents
Public Class TwitterEvents
Inherits RemoteAuthenticationEvents
Implements ITwitterEvents
Public Class TwitterEvents
Inherits RemoteAuthenticationEvents
Inheritance
Implements

Constructors

TwitterEvents()

Properties

OnAccessDenied

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

(Inherited from RemoteAuthenticationEvents)
OnCreatingTicket

Gets or sets the function that is invoked when the Authenticated method is invoked.

OnRedirectToAuthorizationEndpoint

Gets or sets the delegate that is invoked when the ApplyRedirect method is invoked.

OnRemoteFailure

Invoked when there is a remote failure.

(Inherited from RemoteAuthenticationEvents)
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)
CreatingTicket(TwitterCreatingTicketContext)

Invoked whenever Twitter successfully authenticates a user

RedirectToAuthorizationEndpoint(RedirectContext<TwitterOptions>)

Called when a Challenge causes a redirect to authorize endpoint in the Twitter handler

RedirectToAuthorizationEndpoint(TwitterRedirectToAuthorizationEndpointContext)

Called when a Challenge causes a redirect to authorize endpoint in the Twitter middleware

RemoteFailure(FailureContext)

Invoked when there is a remote failure

(Inherited from RemoteAuthenticationEvents)
RemoteFailure(RemoteFailureContext)

Invoked when there is a remote failure.

(Inherited from RemoteAuthenticationEvents)
TicketReceived(TicketReceivedContext)

Invoked after the remote ticket has been received.

(Inherited from RemoteAuthenticationEvents)

Applies to