Compartir a través de


OAuthAuthorizationServerProvider.TokenEndpoint Method (OAuthTokenEndpointContext)

 

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

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

Parameters

Return Value

Type: System.Threading.Tasks.Task

Task to enable asynchronous execution

Implements

IOAuthAuthorizationServerProvider.TokenEndpoint(OAuthTokenEndpointContext)

See Also

OAuthAuthorizationServerProvider Class
Microsoft.Owin.Security.OAuth Namespace

Return to top