Share via


IOAuthAuthorizationServerProvider.ValidateAuthorizeRequest Method

Called for each request to the Authorize 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 redirect URI, 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

'Declaration
Function ValidateAuthorizeRequest ( _
    context As OAuthValidateAuthorizeRequestContext _
) As Task
'Usage
Dim instance As IOAuthAuthorizationServerProvider 
Dim context As OAuthValidateAuthorizeRequestContext 
Dim returnValue As Task 

returnValue = instance.ValidateAuthorizeRequest(context)
Task ValidateAuthorizeRequest(
    OAuthValidateAuthorizeRequestContext context
)
Task^ ValidateAuthorizeRequest(
    OAuthValidateAuthorizeRequestContext^ context
)
abstract ValidateAuthorizeRequest : 
        context:OAuthValidateAuthorizeRequestContext -> Task
function ValidateAuthorizeRequest(
    context : OAuthValidateAuthorizeRequestContext
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
Task to enable asynchronous execution

See Also

Reference

IOAuthAuthorizationServerProvider Interface

Microsoft.Owin.Security.OAuth Namespace