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

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

public OAuthBase(
	string authorizeUrl,
	string accessTokenUrl,
	string applicationId,
	string applicationSecret
)

Parameters

authorizeUrl
Type: System String
The address for login.
accessTokenUrl
Type: System String
The address for the access token.
applicationId
Type: System String
The application identifier obtained from the provider website.
applicationSecret
Type: System String
The application secret key obtained from the provider website.
Exceptions

ExceptionCondition
ArgumentNullException

authorizeUrl is null or empty.

-or-

accessTokenUrl is null or empty.

-or-

applicationId is null or empty.

-or-

applicationSecret is null or empty.

See Also