IOAuthAuthorizationServerProvider.ValidateTokenRequest Method (OAuthValidateTokenRequestContext)

 

Called for each request to the Token endpoint to determine if the request is valid and should continue. The default behavior when using the OAuthAuthorizationServerProvider is to assume well-formed requests, with validated client credentials, should continue processing. An application may add any additional constraints.

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

Syntax

Task ValidateTokenRequest(
    OAuthValidateTokenRequestContext context
)
Task^ ValidateTokenRequest(
    OAuthValidateTokenRequestContext^ context
)
abstract ValidateTokenRequest : 
        context:OAuthValidateTokenRequestContext -> Task
Function ValidateTokenRequest (
    context As OAuthValidateTokenRequestContext
) As Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

Task to enable asynchronous execution

See Also

IOAuthAuthorizationServerProvider Interface
Microsoft.Owin.Security.OAuth Namespace

Return to top