共用方式為


GoogleOAuth2AuthenticationProvider.ReturnEndpoint Method (GoogleOAuth2ReturnEndpointContext)

 

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

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

Syntax

public virtual Task ReturnEndpoint(
    GoogleOAuth2ReturnEndpointContext context
)
public:
virtual Task^ ReturnEndpoint(
    GoogleOAuth2ReturnEndpointContext^ context
)
abstract ReturnEndpoint : 
        context:GoogleOAuth2ReturnEndpointContext -> Task
override ReturnEndpoint : 
        context:GoogleOAuth2ReturnEndpointContext -> Task
Public Overridable Function ReturnEndpoint (
    context As GoogleOAuth2ReturnEndpointContext
) As Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

A Task representing the completed operation.

Implements

IGoogleOAuth2AuthenticationProvider.ReturnEndpoint(GoogleOAuth2ReturnEndpointContext)

See Also

GoogleOAuth2AuthenticationProvider Class
Microsoft.Owin.Security.Google Namespace

Return to top