BrowserLocalStorageStore class
Implementation of VeramoJsonStore that uses browser localStorage to store data.
Signature:
export declare class BrowserLocalStorageStore implements VeramoJsonStore
Implements: VeramoJsonStore
Example
const dataStore = BrowserLocalStorageStore.fromLocalStorage('veramo-state')
const plugin = new DataStoreJson(dataStore)
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
claims | Record<string, ClaimTableEntry> | ||
credentials | Record<string, CredentialTableEntry> | ||
dids | Record<string, IIdentifier> | ||
keys | Record<string, ManagedKeyInfo> | ||
messages | Record<string, IMessage> | ||
notifyUpdate | DiffCallback | ||
presentations | Record<string, PresentationTableEntry> | ||
privateKeys | Record<string, ManagedPrivateKey> |
Methods
Method | Modifiers | Description |
---|---|---|
fromLocalStorage(localStorageKey) | static |