SecretStorage
interfaceEncrypted per-mod storage for tokens and refresh tokens. The only correct home for a credential. Mod state and configuration are readable by anyone who can read the profile, this is not.
Import
import { SecretStorage } from '@modular/sdk';Members3
- delete
(key: string) => Promise<void>- get
(key: string) => Promise<string | undefined>- store
(key: string, value: string) => Promise<void>
Notes
- category
- Authoring