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)

Syntax

'Declaration
Public Property OnTokenEndpoint As Func(Of OAuthTokenEndpointContext, Task)
    Get 
    Set
'Usage
Dim instance As OAuthAuthorizationServerProvider 
Dim value As Func(Of OAuthTokenEndpointContext, Task)

value = instance.OnTokenEndpoint

instance.OnTokenEndpoint = value
public Func<OAuthTokenEndpointContext, Task> OnTokenEndpoint { get; set; }
public:
property Func<OAuthTokenEndpointContext^, Task^>^ OnTokenEndpoint {
    Func<OAuthTokenEndpointContext^, Task^>^ get ();
    void set (Func<OAuthTokenEndpointContext^, Task^>^ value);
}
member OnTokenEndpoint : Func<OAuthTokenEndpointContext, Task> with get, set
function get OnTokenEndpoint () : Func<OAuthTokenEndpointContext, Task>
function set OnTokenEndpoint (value : Func<OAuthTokenEndpointContext, Task>)

Property Value

Type: System.Func<OAuthTokenEndpointContext, Task>

See Also

Reference

OAuthAuthorizationServerProvider Class

Microsoft.Owin.Security.OAuth Namespace