SettingsSessionStorage

class SettingsSessionStorage(settings: Settings) : SessionStorage

Backed by multiplatform-settings rather than androidx.datastore: DataStore's non-Android/web targets are not yet shipped, while this library has full wasmJs support (Web Storage-backed), which this app's target list requires.

Constructors

Link copied to clipboard
constructor(settings: Settings)

Functions

Link copied to clipboard
open override fun accessToken(): String?
Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun refreshToken(): String?
Link copied to clipboard
open override fun save(accessToken: String, refreshToken: String)