Class: LocalStorageStorage
Class: LocalStorageStorage
Defined in: auth-client/src/core/adapters/local-storage-storage.ts:13
Generic key-value persistence for non-token data: PKCE verifiers between /sso/url and /sso/exchange, last-known org id, etc.
Implements
Constructors
Constructor
new LocalStorageStorage(
namespace):LocalStorageStorage
Defined in: auth-client/src/core/adapters/local-storage-storage.ts:16
Parameters
namespace
string
Returns
LocalStorageStorage
Methods
get()
get(
key):Promise<string|null>
Defined in: auth-client/src/core/adapters/local-storage-storage.ts:20
Parameters
key
string
Returns
Promise<string | null>
Implementation of
remove()
remove(
key):Promise<void>
Defined in: auth-client/src/core/adapters/local-storage-storage.ts:30
Parameters
key
string
Returns
Promise<void>
Implementation of
set()
set(
key,value):Promise<void>
Defined in: auth-client/src/core/adapters/local-storage-storage.ts:25
Parameters
key
string
value
string
Returns
Promise<void>