ITwitterEvents Interface

Definition

Specifies callback methods which the TwitterMiddleware invokes to enable developer control over the authentication process. />

C#
public interface ITwitterEvents : Microsoft.AspNetCore.Authentication.IRemoteAuthenticationEvents
Derived
Implements

Methods

CreatingTicket(TwitterCreatingTicketContext)

Invoked whenever Twitter succesfully authenticates a user

RedirectToAuthorizationEndpoint(TwitterRedirectToAuthorizationEndpointContext)

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

RemoteFailure(FailureContext)

Invoked when the remote authentication process has an error.

(Inherited from IRemoteAuthenticationEvents)
TicketReceived(TicketReceivedContext)

Invoked before sign in.

(Inherited from IRemoteAuthenticationEvents)

Applies to

Product Versions
ASP.NET Core 1.0, 1.1