Deli z drugimi prek


IGoogleOAuth2AuthenticationProvider Interface

 

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

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

Syntax

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

Methods

Name Description
System_CAPS_pubmethod ApplyRedirect(GoogleOAuth2ApplyRedirectContext)

Called when a Challenge causes a redirect to authorize endpoint in the Google OAuth 2.0 middleware

System_CAPS_pubmethod Authenticated(GoogleOAuth2AuthenticatedContext)

Invoked whenever Google succesfully authenticates a user

System_CAPS_pubmethod ReturnEndpoint(GoogleOAuth2ReturnEndpointContext)

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.Google Namespace

Return to top