C# Class Raven.Abstractions.OAuth.SecuredAuthenticator

Inheritance: AbstractAuthenticator, IDisposable
显示文件 Open project: robashton/ravendb Class Usage Examples

Public Methods

Method Description
ConfigureRequest ( object sender, WebRequestEventArgs e ) : void
DoOAuthRequest ( string oauthSource ) : Action
DoOAuthRequestAsync ( string baseUrl, string oauthSource ) : Task>
SecuredAuthenticator ( string apiKey ) : System

Private Methods

Method Description
BrowserCookieToAllowUserToUseStandardRequests ( string baseUrl, string currentOauthToken ) : void
DoOAuthRequestAsync ( string baseUrl, string oauthSource, string serverRsaExponent, string serverRsaModulus, string challenge, int tries ) : Task>
PrepareOAuthRequest ( string oauthSource, string serverRSAExponent, string serverRSAModulus, string challenge ) : string>.Tuple

Method Details

ConfigureRequest() public method

public ConfigureRequest ( object sender, WebRequestEventArgs e ) : void
sender object
e Raven.Abstractions.Connection.WebRequestEventArgs
return void

DoOAuthRequest() public method

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

DoOAuthRequestAsync() public method

public DoOAuthRequestAsync ( string baseUrl, string oauthSource ) : Task>
baseUrl string
oauthSource string
return Task>

SecuredAuthenticator() public method

public SecuredAuthenticator ( string apiKey ) : System
apiKey string
return System