SSOAuthenticator

public class SSOAuthenticator : OAuthAuthenticator

An Single sign-on SSO based authentication strategy used to authenticate a user on Cisco Spark.

Since

1.3.1
  • Creates a new SSO authentication strategy

    Since

    1.3.1

    Declaration

    Swift

    public init(clientId: String, clientSecret: String, scope: String, redirectUri: String, email: String, identityProviderUri: String,
         queryItems: [URLQueryItem] = [])

    Parameters

    clientId

    the OAuth client id

    clientSecret

    the OAuth client secret

    scope

    space-separated string representing which permissions the application needs

    redirectUri

    the redirect URI that will be called when completing the authentication. This must match the redirect URI registered to your clientId.

    identityProviderUri

    the URI that will handle authentication claims with spark service on behalf of the hosting application.

    additionalQueryItems

    a collection of additional URLQueryItem to be appended to the identityProviderUri.