Skip to main content
Defined in: client/browser-stores.ts:40 KeyValueStore backed by IndexedDB. Preferred when tokens should survive outside the synchronous, size-limited localStorage (e.g. larger payloads or stricter persistence). Opens the database per operation and closes it again.

Implements

Constructors

Constructor

Defined in: client/browser-stores.ts:44

Parameters

opts?
dbName?
string
storeName?
string

Returns

IndexedDBStore

Methods

delete()

Defined in: client/browser-stores.ts:87

Parameters

key
string

Returns

Promise<void>

Implementation of


get()

Defined in: client/browser-stores.ts:78

Parameters

key
string

Returns

Promise<string | null>

Implementation of


set()

Defined in: client/browser-stores.ts:83

Parameters

key
string
value
string

Returns

Promise<void>

Implementation of