IOAuthAuthorizationServerProvider.MatchEndpoint Method
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
'Declaration
Function MatchEndpoint ( _
context As OAuthMatchEndpointContext _
) As Task
'Usage
Dim instance As IOAuthAuthorizationServerProvider
Dim context As OAuthMatchEndpointContext
Dim returnValue As Task
returnValue = instance.MatchEndpoint(context)
Task MatchEndpoint(
OAuthMatchEndpointContext context
)
Task^ MatchEndpoint(
OAuthMatchEndpointContext^ context
)
abstract MatchEndpoint :
context:OAuthMatchEndpointContext -> Task
function MatchEndpoint(
context : OAuthMatchEndpointContext
) : Task
Parameters
- context
Type: Microsoft.Owin.Security.OAuth.OAuthMatchEndpointContext
The context of the event carries information in and results out.
Return Value
Type: System.Threading.Tasks.Task
Task to enable asynchronous execution