SessionStorage

interface SessionStorage

Backing store for Sonar session identifiers, keyed by Frame account. accountId = null addresses the pre-account slot, holding a session minted before the account was known so it can be adopted once it is.

Inheritors

Functions

Link copied to clipboard
abstract fun clear(accountId: String? = null)
Link copied to clipboard
abstract fun get(accountId: String? = null): SessionId?
Link copied to clipboard
abstract fun lastRefresh(accountId: String? = null): Long?
Link copied to clipboard
abstract fun set(value: SessionId, accountId: String? = null)
Link copied to clipboard
abstract fun setLastRefresh(timestamp: Long, accountId: String? = null)