Initializes a new instance of the OAuthClient class.
Namespace: Nemiro.OAuthAssembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax
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
Exception | Condition |
---|---|
ArgumentNullException | The requestTokenUrl is null or empty. |
See Also