Skip to main content
Class
class TinkWithFallbackSessionStore : SessionStore

Constructors

Public constructor for production use.

Functions

clear

open suspend override fun clear()

isPersistentStorageAvailable

fun isPersistentStorageAvailable(): Boolean
Returns true if persistent storage is available. When using MemoryOnly fallback policy and fallback is active, this returns false.

isUsingFallback

fun isUsingFallback(): Boolean
Returns true if the store has fallen back to the alternative storage strategy. This can be used for logging, telemetry, or to inform users about degraded functionality.

token

open suspend override fun token(): AuthToken?

update

open suspend override fun update(token: AuthToken?)