Compartilhar via


ITwitterAuthenticationProvider Interface

 

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

Namespace:   Microsoft.Owin.Security.Twitter
Assembly:  Microsoft.Owin.Security.Twitter (in Microsoft.Owin.Security.Twitter.dll)

Syntax

public interface ITwitterAuthenticationProvider
public interface class ITwitterAuthenticationProvider
type ITwitterAuthenticationProvider = interface end
Public Interface ITwitterAuthenticationProvider

Methods

Name Description
System_CAPS_pubmethod ApplyRedirect(TwitterApplyRedirectContext)

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

System_CAPS_pubmethod Authenticated(TwitterAuthenticatedContext)

Invoked whenever Twitter succesfully authenticates a user

System_CAPS_pubmethod ReturnEndpoint(TwitterReturnEndpointContext)

Invoked prior to the ClaimsIdentity being saved in a local cookie and the browser being redirected to the originally requested URL.

See Also

Microsoft.Owin.Security.Twitter Namespace

Return to top