Click or drag to resize

SSOAuthenticator Constructor

Creates a new SSO authentication strategy

Namespace:  SparkSDK
Assembly:  SparkSDK (in SparkSDK.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
C#
public SSOAuthenticator(
	string clientId,
	string clientSecret,
	string scope,
	string redirectUri,
	string email,
	string identityProviderUri,
	List<KeyValuePair<string, string>> additionalQueryItems
)

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.
email
Type: SystemString
the spark email address of the SSO user.
identityProviderUri
Type: SystemString
the URI that will handle authentication claims with spark service on behalf of the hosting application.
additionalQueryItems
Type: System.Collections.GenericListKeyValuePairString, String
a collection of additional *URLQueryItem* to be appended to the identityProviderUri.
See Also