LegacyTokenStorage

Legacy interface used to customize the way tokens are stored, updated, and removed throughout the lifecycle of an application. See TokenStorage for the current version.

Types

Link copied to clipboard
class Entry(val identifier: String, val token: Token?, val tags: Map<String, String>)

Represents the data to store in LegacyTokenStorage.

Functions

Link copied to clipboard
abstract suspend fun add(id: String)

Add a new entry to storage.

Link copied to clipboard
abstract suspend fun entries(): List<LegacyTokenStorage.Entry>

Used to access all Entrys in storage.

Link copied to clipboard
abstract suspend fun remove(id: String)

Remove an existing entry from storage.

Link copied to clipboard
abstract suspend fun replace(updatedEntry: LegacyTokenStorage.Entry)

Replace an existing Entry in storage with an updated Entry.