public OAuthClient() { AutoReset = true; Nonce = OAuthUtils.GenerateNonce(); Timestamp = OAuthUtils.GetTimestamp(); Version = "1.0"; }
public OAuthClient(string consumerKey, string consumerSecret) { AutoReset = true; ConsumerKey = consumerKey; ConsumerSecret = consumerSecret; Nonce = OAuthUtils.GenerateNonce(); Timestamp = OAuthUtils.GetTimestamp(); Version = "1.0"; }
/// <summary> /// Updates the <var>oauth_timestamp</var> and <var>oauth_nonce</var> /// parameters with new values for another request. /// </summary> public virtual void Reset() { Nonce = OAuthUtils.GenerateNonce(); Timestamp = OAuthUtils.GetTimestamp(); }