Authenticator

interface Authenticator

An interface for generic authentication strategies in Cisco Webex. Each authentication strategy is responsible for providing an accessToken used throughout this SDK.

Since

0.1

Functions

Link copied to clipboard
abstract fun deauthorize(handler: CompletionHandler<Void>? = null)

Deauthorizes the current user and clears any persistent state with regards to the current user. If the com.ciscowebex.androidsdk.phone.Phone is registered, it should be deregistered before calling this method.

Link copied to clipboard
abstract fun getToken(handler: CompletionHandler<String?>)

Returns an access token of this authenticator.

Link copied to clipboard
abstract fun isAuthorized(): Boolean

Returns True if the user is logically authorized.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard