OAuthClient Constructor
OAuthClient Constructor Nemiro.OAuth
Initializes a new instance of the OAuthClient class.

Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax

public OAuthClient(
	string requestTokenUrl,
	string authorizeUrl,
	string accessTokenUrl,
	string consumerKey,
	string consumerSecret,
	string signatureMethod = "HMAC-SHA1"
)

Parameters

requestTokenUrl
Type: System String
The address for the request token.
authorizeUrl
Type: System String
The address for login.
accessTokenUrl
Type: System String
The address for the access token.
consumerKey
Type: System String
The application identifier.
consumerSecret
Type: System String
The application secret key.
signatureMethod (Optional)
Type: System String
The name of hashing algorithm to calculate the signature: HMAC-SHA1 (default) or PLAINTEXT.
Exceptions

ExceptionCondition
ArgumentNullExceptionThe requestTokenUrl is null or empty.
See Also