Click or drag to resize

SSOAuthenticator Class

An Single sign-on [SSO](https://help.webex.com/docs/DOC-9143#reference_E9B2CEDE975E4CD311C56D9B0EF2476C) based authentication strategy used to authenticate a user on Cisco Spark. See: [Cisco Spark Integration](https://developer.ciscospark.com/authentication.html)
Inheritance Hierarchy

Namespace:  SparkSDK
Assembly:  SparkSDK (in SparkSDK.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
C#
public sealed class SSOAuthenticator : OAuthAuthenticator

The SSOAuthenticator type exposes the following members.

Constructors
  NameDescription
Public methodSSOAuthenticator
Creates a new SSO authentication strategy
Top
Properties
  NameDescription
Public propertyAuthorizationUrl
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.
Top
Methods
  NameDescription
Public methodAccessToken
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.)
Public methodAuthorize
Authenticate process with authentication code, and browser is trigged by SDK users.
(Inherited from OAuthAuthenticator.)
Public methodAuthorized
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.)
Public methodDeauthorize
Deauthorizes the current user and clears any persistent state with regards to the current user.
(Inherited from OAuthAuthenticator.)
Public methodRefreshToken
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.)
Top
Remarks
Since: 0.1.0
See Also