IOAuthAuthorizationServerProvider.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
Function TokenEndpoint ( _
context As OAuthTokenEndpointContext _
) As Task
'Usage
Dim instance As IOAuthAuthorizationServerProvider
Dim context As OAuthTokenEndpointContext
Dim returnValue As Task
returnValue = instance.TokenEndpoint(context)
Task TokenEndpoint(
OAuthTokenEndpointContext context
)
Task^ TokenEndpoint(
OAuthTokenEndpointContext^ context
)
abstract TokenEndpoint :
context:OAuthTokenEndpointContext -> Task
function TokenEndpoint(
context : OAuthTokenEndpointContext
) : Task
Parameters
- context
Type: Microsoft.Owin.Security.OAuth.OAuthTokenEndpointContext
The context of the event carries information in and results out.
Return Value
Type: System.Threading.Tasks.Task
Task to enable asynchronous execution