C# Class OAuth.AspNet.AuthServer.OAuthMatchContext

Provides notification used for determining the OAuth flow type based on the request.
Inheritance: Microsoft.AspNetCore.Authentication.BaseControlContext
ファイルを表示 Open project: XacronDevelopment/oauth-aspnet Class Usage Examples

Public Methods

Method Description
MatchesAuthorizeEndpoint ( ) : void

Sets the endpoint type to authorize endpoint.

MatchesNothing ( ) : void

Sets the endpoint type to neither authorize nor token.

MatchesTokenEndpoint ( ) : void

Sets the endpoint type to token endpoint.

OAuthMatchContext ( HttpContext context, OAuthAuthorizationServerOptions options ) : System

Initializes a new instance of the OAuthMatchContext class

Method Details

MatchesAuthorizeEndpoint() public method

Sets the endpoint type to authorize endpoint.
public MatchesAuthorizeEndpoint ( ) : void
return void

MatchesNothing() public method

Sets the endpoint type to neither authorize nor token.
public MatchesNothing ( ) : void
return void

MatchesTokenEndpoint() public method

Sets the endpoint type to token endpoint.
public MatchesTokenEndpoint ( ) : void
return void

OAuthMatchContext() public method

Initializes a new instance of the OAuthMatchContext class
public OAuthMatchContext ( HttpContext context, OAuthAuthorizationServerOptions options ) : System
context HttpContext
options OAuthAuthorizationServerOptions
return System