Click or drag to resize

OAuthAuthenticator Constructor

Initializes a new instance of the OAuthAuthenticator class.

Namespace:  SparkSDK
Assembly:  SparkSDK (in SparkSDK.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
C#
public OAuthAuthenticator(
	string clientId,
	string clientSecret,
	string scope,
	string redirectUri
)

Parameters

clientId
Type: SystemString
the OAuth client id
clientSecret
Type: SystemString
the OAuth client secret
scope
Type: SystemString
space-separated string representing which permissions the application needs
redirectUri
Type: SystemString
the redirect URI that will be called when completing the authentication. This must match the redirect URI registered to your clientId.
Remarks
Since: 0.1.0
See Also