Share via


TwitterAuthenticationProvider.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.Twitter
Assembly:  Microsoft.Owin.Security.Twitter (in Microsoft.Owin.Security.Twitter.dll)

Syntax

'Declaration
Public Overridable Function ReturnEndpoint ( _
    context As TwitterReturnEndpointContext _
) As Task
'Usage
Dim instance As TwitterAuthenticationProvider 
Dim context As TwitterReturnEndpointContext 
Dim returnValue As Task 

returnValue = instance.ReturnEndpoint(context)
public virtual Task ReturnEndpoint(
    TwitterReturnEndpointContext context
)
public:
virtual Task^ ReturnEndpoint(
    TwitterReturnEndpointContext^ context
)
abstract ReturnEndpoint : 
        context:TwitterReturnEndpointContext -> Task  
override ReturnEndpoint : 
        context:TwitterReturnEndpointContext -> Task
public function ReturnEndpoint(
    context : TwitterReturnEndpointContext
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
A Task representing the completed operation.

Implements

ITwitterAuthenticationProvider.ReturnEndpoint(TwitterReturnEndpointContext)

See Also

Reference

TwitterAuthenticationProvider Class

Microsoft.Owin.Security.Twitter Namespace