OAuthAuthorizationServerProvider.TokenEndpoint Method

Called at the final stage of a successful Token endpoint request. An application may implement this call in order to do any final modification of the claims being used to issue access or refresh tokens. This call may also be used in order to add additional response parameters to the Token endpoint's json response body.

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

Syntax

'Declaration
Public Overridable Function TokenEndpoint ( _
    context As OAuthTokenEndpointContext _
) As Task
'Usage
Dim instance As OAuthAuthorizationServerProvider 
Dim context As OAuthTokenEndpointContext 
Dim returnValue As Task 

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

Parameters

Return Value

Type: System.Threading.Tasks.Task
Task to enable asynchronous execution

Implements

IOAuthAuthorizationServerProvider.TokenEndpoint(OAuthTokenEndpointContext)

See Also

Reference

OAuthAuthorizationServerProvider Class

Microsoft.Owin.Security.OAuth Namespace