Skip to content

LocalStorage

Defined in: storage.ts:27

Legacy implementation of AuthClientStorage, for use where IndexedDb is not available

new LocalStorage(prefix, _localStorage?): LocalStorage

Defined in: storage.ts:28

string = 'ic-'

Storage

LocalStorage

readonly prefix: string = 'ic-'

Defined in: storage.ts:29

get(key): Promise<null | string>

Defined in: storage.ts:33

string

Promise<null | string>

AuthClientStorage.get


remove(key): Promise<void>

Defined in: storage.ts:42

string

Promise<void>

AuthClientStorage.remove


set(key, value): Promise<void>

Defined in: storage.ts:37

string

string

Promise<void>

AuthClientStorage.set