OAuthAuthorizationServerProvider.ValidateAuthorizeRequest Method (OAuthValidateAuthorizeRequestContext)
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
public virtual Task ValidateAuthorizeRequest(
OAuthValidateAuthorizeRequestContext context
)
public:
virtual Task^ ValidateAuthorizeRequest(
OAuthValidateAuthorizeRequestContext^ context
)
abstract ValidateAuthorizeRequest :
context:OAuthValidateAuthorizeRequestContext -> Task
override ValidateAuthorizeRequest :
context:OAuthValidateAuthorizeRequestContext -> Task
Public Overridable Function ValidateAuthorizeRequest (
context As OAuthValidateAuthorizeRequestContext
) As Task
Parameters
context
Type: Microsoft.Owin.Security.OAuth.OAuthValidateAuthorizeRequestContextThe context of the event carries information in and results out.
Return Value
Type: System.Threading.Tasks.Task
Task to enable asynchronous execution
Implements
IOAuthAuthorizationServerProvider.ValidateAuthorizeRequest(OAuthValidateAuthorizeRequestContext)
See Also
OAuthAuthorizationServerProvider Class
Microsoft.Owin.Security.OAuth Namespace
Return to top