C# Class RestSharp.OAuth2UriQueryParameterAuthenticator

The OAuth 2 authenticator using URI query parameter.
Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
Inheritance: OAuth2Authenticator
Mostrar archivo Open project: nicwise/RestSharp

Public Methods

Method Description
Authenticate ( IRestClient client, IRestRequest request ) : void
OAuth2UriQueryParameterAuthenticator ( string accessToken ) : System

Initializes a new instance of the OAuth2UriQueryParameterAuthenticator class.

Method Details

Authenticate() public method

public Authenticate ( IRestClient client, IRestRequest request ) : void
client IRestClient
request IRestRequest
return void

OAuth2UriQueryParameterAuthenticator() public method

Initializes a new instance of the OAuth2UriQueryParameterAuthenticator class.
public OAuth2UriQueryParameterAuthenticator ( string accessToken ) : System
accessToken string /// The access token. ///
return System