IOAuthAuthorizationServerProvider.MatchEndpoint Method (OAuthMatchEndpointContext)
Called to determine if an incoming request is treated as an Authorize or Token endpoint. If Options.AuthorizeEndpointPath or Options.TokenEndpointPath are assigned values, then handling this event is optional and context.IsAuthorizeEndpoint and context.IsTokenEndpoint will already be true if the request path matches.
Namespace: Microsoft.Owin.Security.OAuth
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Syntax
Task MatchEndpoint(
OAuthMatchEndpointContext context
)
Task^ MatchEndpoint(
OAuthMatchEndpointContext^ context
)
abstract MatchEndpoint :
context:OAuthMatchEndpointContext -> Task
Function MatchEndpoint (
context As OAuthMatchEndpointContext
) As Task
Parameters
context
Type: Microsoft.Owin.Security.OAuth.OAuthMatchEndpointContextThe context of the event carries information in and results out.
Return Value
Type: System.Threading.Tasks.Task
Task to enable asynchronous execution
See Also
IOAuthAuthorizationServerProvider Interface
Microsoft.Owin.Security.OAuth Namespace
Return to top