C# Class Raven.Abstractions.OAuth.BasicAuthenticator

Inheritance: AbstractAuthenticator
ファイルを表示 Open project: robashton/ravendb Class Usage Examples

Public Methods

Method Description
BasicAuthenticator ( string apiKey, bool enableBasicAuthenticationOverUnsecuredHttp ) : System
DoOAuthRequest ( string oauthSource ) : Action
HandleOAuthResponseAsync ( string oauthSource ) : Task>

Private Methods

Method Description
PrepareOAuthRequest ( string oauthSource ) : HttpWebRequest

Method Details

BasicAuthenticator() public method

public BasicAuthenticator ( string apiKey, bool enableBasicAuthenticationOverUnsecuredHttp ) : System
apiKey string
enableBasicAuthenticationOverUnsecuredHttp bool
return System

DoOAuthRequest() public method

public DoOAuthRequest ( string oauthSource ) : Action
oauthSource string
return Action

HandleOAuthResponseAsync() public method

public HandleOAuthResponseAsync ( string oauthSource ) : Task>
oauthSource string
return Task>