OAuthAuthorizationServerProvider.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

public virtual Task MatchEndpoint(
    OAuthMatchEndpointContext context
)
public:
virtual Task^ MatchEndpoint(
    OAuthMatchEndpointContext^ context
)
abstract MatchEndpoint : 
        context:OAuthMatchEndpointContext -> Task
override MatchEndpoint : 
        context:OAuthMatchEndpointContext -> Task
Public Overridable Function MatchEndpoint (
    context As OAuthMatchEndpointContext
) As Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

Task to enable asynchronous execution

Implements

IOAuthAuthorizationServerProvider.MatchEndpoint(OAuthMatchEndpointContext)

See Also

OAuthAuthorizationServerProvider Class
Microsoft.Owin.Security.OAuth Namespace

Return to top