SSOAuthenticator Class |
Namespace: SparkSDK
public sealed class SSOAuthenticator : OAuthAuthenticator
The SSOAuthenticator type exposes the following members.
Name | Description | |
---|---|---|
SSOAuthenticator |
Creates a new SSO authentication strategy
|
Name | Description | |
---|---|---|
AuthorizationUrl |
Overrides the AuthorizationUrl by taking the original url and redirecting the request through the
provided identity provider uri. Once the identity provider has validated the claim with Cisco Services it will
redirect back to continue a slimmed down version of oAuth authentication flow which has prefilled the user spark
id.
This flow only interacts with the user if they need to explicitly need to provide permissions to allow spark to
use their account.
|
Name | Description | |
---|---|---|
AccessToken |
Returns an access token of this authenticator.
This may involve long-running operations such as service calls,
but may also return immediately. The application should not make assumptions about how quickly this completes.
If the access token could not be retrieved then the completion handler will be called with null.
(Inherited from OAuthAuthenticator.) | |
Authorize |
Authenticate process with authentication code, and browser is trigged by SDK users.
(Inherited from OAuthAuthenticator.) | |
Authorized |
Gets a value indicating whether this IAuthenticator is authorized.
This may not mean the user has a valid
access token yet, but the authentication strategy should be able to obtain one without
further user interaction.
(Inherited from OAuthAuthenticator.) | |
Deauthorize |
Deauthorizes the current user and clears any persistent state with regards to the current user.
(Inherited from OAuthAuthenticator.) | |
RefreshToken |
Returns an new access token of this authenticator.
This may involve long-running operations such as service calls.
If the access token could not be retrieved then the completion handler will be called with null.
(Inherited from OAuthAuthenticator.) |