Skip to main content
Interface
interface FailureAwareSessionStore : SessionStore

Functions

clear

abstract suspend fun clear()

hasFailed

abstract fun hasFailed(): Boolean
Returns true if this store has encountered a failure and should no longer be used. Once this returns true, it should continue to return true for the lifetime of the instance.

token

abstract suspend fun token(): AuthToken?

update

abstract suspend fun update(token: AuthToken?)