GoogleOAuth2AuthenticationProvider.ReturnEndpoint Method
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
'Declaration
Public Overridable Function ReturnEndpoint ( _
context As GoogleOAuth2ReturnEndpointContext _
) As Task
'Usage
Dim instance As GoogleOAuth2AuthenticationProvider
Dim context As GoogleOAuth2ReturnEndpointContext
Dim returnValue As Task
returnValue = instance.ReturnEndpoint(context)
public virtual Task ReturnEndpoint(
GoogleOAuth2ReturnEndpointContext context
)
public:
virtual Task^ ReturnEndpoint(
GoogleOAuth2ReturnEndpointContext^ context
)
abstract ReturnEndpoint :
context:GoogleOAuth2ReturnEndpointContext -> Task
override ReturnEndpoint :
context:GoogleOAuth2ReturnEndpointContext -> Task
public function ReturnEndpoint(
context : GoogleOAuth2ReturnEndpointContext
) : Task
Parameters
- context
Type: Microsoft.Owin.Security.Google.GoogleOAuth2ReturnEndpointContext
Contains context information and authentication ticket of the return endpoint.
Return Value
Type: System.Threading.Tasks.Task
A Task representing the completed operation.
Implements
IGoogleOAuth2AuthenticationProvider.ReturnEndpoint(GoogleOAuth2ReturnEndpointContext)