OAuthAuthorizationServerProvider.OnTokenEndpoint Property


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)


public Func<OAuthTokenEndpointContext, Task> OnTokenEndpoint { get; set; }
property Func<OAuthTokenEndpointContext^, Task^>^ OnTokenEndpoint {
    Func<OAuthTokenEndpointContext^, Task^>^ get();
    void set(Func<OAuthTokenEndpointContext^, Task^>^ value);
member OnTokenEndpoint : Func<OAuthTokenEndpointContext, Task> with get, set
Public Property OnTokenEndpoint As Func(Of OAuthTokenEndpointContext, Task)

Property Value

Type: System.Func<OAuthTokenEndpointContext, Task>

Returns Func<T, TResult>.

See Also

OAuthAuthorizationServerProvider Class
Microsoft.Owin.Security.OAuth Namespace

Return to top