TokenStorage

@accounts/clientGlobalsTokenStorage

Hierarchy

  • TokenStorage

Index

Methods

Methods

getItem

getItem(key: string): ValueOrPromise‹string | null›

Defined in types/token-storage.ts:5

Parameters:

NameType
keystring

Returns: ValueOrPromise‹string | null›


removeItem

removeItem(key: string): ValueOrPromise‹void›

Defined in types/token-storage.ts:6

Parameters:

NameType
keystring

Returns: ValueOrPromise‹void›


setItem

setItem(key: string, value: string): ValueOrPromise‹void›

Defined in types/token-storage.ts:4

Parameters:

NameType
keystring
valuestring

Returns: ValueOrPromise‹void›