SharedPreferencesSignOnManager

internal class SharedPreferencesSignOnManager(context: Context, sharedPreferences: SharedPreferences? = null) : SingleSignOnManager

Manage SSO Token with SharedPreferences as the storage.

Constructors

Link copied to clipboard
constructor(context: Context, sharedPreferences: SharedPreferences? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun clear()

Remove the stored Token and Cookies

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getCookies(): Collection<String>

Retrieve the Stored cookies

Link copied to clipboard
open override fun getToken(): SSOToken?

Retrieve the Token

Link copied to clipboard
open override fun hasToken(): Boolean

Check if token exists in the storage.

Link copied to clipboard

Check if broadcast to other Apps in the SSO Group is enabled.

Link copied to clipboard
open override fun persist(cookies: Collection<String>)

Persist the Cookies to storage

open override fun persist(token: SSOToken)

Persist the Token to storage

Link copied to clipboard
open override fun revoke(listener: FRListener<Void>?)

Revoke the SSO Session