C# Class OAuth.AspNet.AuthServer.OAuthValidateClientAuthenticationContext

Contains information about the client credentials.
Inheritance: BaseValidatingClientContext
Datei anzeigen Open project: XacronDevelopment/oauth-aspnet Class Usage Examples

Public Methods

Method Description
OAuthValidateClientAuthenticationContext ( HttpContext context, OAuthAuthorizationServerOptions options, StringValues>.IDictionary parameters ) : System

Initializes a new instance of the OAuthValidateClientAuthenticationContext class

Validated ( string clientId ) : bool

Sets the client id and marks the context as validated by the application.

Private Methods

Method Description
TryGetBasicCredentials ( string &clientId, string &clientSecret ) : bool
TryGetFormCredentials ( string &clientId, string &clientSecret ) : bool

Method Details

OAuthValidateClientAuthenticationContext() public method

Initializes a new instance of the OAuthValidateClientAuthenticationContext class
public OAuthValidateClientAuthenticationContext ( HttpContext context, OAuthAuthorizationServerOptions options, StringValues>.IDictionary parameters ) : System
context HttpContext
options OAuthAuthorizationServerOptions
parameters StringValues>.IDictionary
return System

Validated() public method

Sets the client id and marks the context as validated by the application.
public Validated ( string clientId ) : bool
clientId string
return bool