Compartir a través de


OAuthAuthorizationServerProvider.OnValidateAuthorizeRequest Property

 

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 Func<OAuthValidateAuthorizeRequestContext, Task> OnValidateAuthorizeRequest { get; set; }
public:
property Func<OAuthValidateAuthorizeRequestContext^, Task^>^ OnValidateAuthorizeRequest {
    Func<OAuthValidateAuthorizeRequestContext^, Task^>^ get();
    void set(Func<OAuthValidateAuthorizeRequestContext^, Task^>^ value);
}
member OnValidateAuthorizeRequest : Func<OAuthValidateAuthorizeRequestContext, Task> with get, set
Public Property OnValidateAuthorizeRequest As Func(Of OAuthValidateAuthorizeRequestContext, Task)

Property Value

Type: System.Func<OAuthValidateAuthorizeRequestContext, Task>

Returns Func<T, TResult>.

See Also

OAuthAuthorizationServerProvider Class
Microsoft.Owin.Security.OAuth Namespace

Return to top