API reference / @evolu/common / local-first/Public / SecureStorage
Interface: SecureStorage
Defined in: packages/common/src/local-first/LocalAuth.ts:54
Experimental
Secure storage interface that must be implemented by each platform.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
clearService | (options?) => Promise<void> | Experimental | packages/common/src/local-first/LocalAuth.ts:68 |
deleteItem | (key, options?) => Promise<boolean> | Experimental | packages/common/src/local-first/LocalAuth.ts:64 |
getAllItems | (options?) => Promise<SensitiveInfoItem[]> | Experimental | packages/common/src/local-first/LocalAuth.ts:65 |
getItem | (key, options?) => Promise< | SensitiveInfoItem | null> | Experimental | packages/common/src/local-first/LocalAuth.ts:60 |
setItem | (key, value, options?) => Promise<MutationResult> | Experimental | packages/common/src/local-first/LocalAuth.ts:55 |