public CookieAwareWebClient(OAuth2Client client) { this.client = client; }
public ServiceClient(string serviceUrl, string version, string apiKey, string secret, string accessUrl) : base(serviceUrl, version, apiKey, secret, accessUrl) { _oauth2 = new OAuth2Client(new Uri(serviceUrl.Replace("api", "www")).GetLeftPart(UriPartial.Authority), apiKey, secret, accessUrl); }