SecureStorageOptions
Defined in: storage.ts:15
Properties
Section titled “Properties”namespace?
Section titled “namespace?”
optionalnamespace?:string
Defined in: storage.ts:20
Keeps one app’s secrets apart from another’s (and from tests). Letters,
digits, ., _, -. Default "default".
native?
Section titled “native?”
optionalnative?:NativeSecureStorage
Defined in: storage.ts:26
The native module — injected by tests; the installed Expo module otherwise.
prompts?
Section titled “prompts?”
optionalprompts?:object
Defined in: storage.ts:24
Default sheet text for reads (unlock) and, on Android, writes (save).
optionalsave?:PromptText
unlock?
Section titled “unlock?”
optionalunlock?:PromptText
protection?
Section titled “protection?”
optionalprotection?:Protection
Defined in: storage.ts:22
Protection for secrets written without an explicit one. Default biometricsOrPasscode.