SetOptions
ts
type SetOptions: object & BaseOptions & AccessControlOption;Type declaration
accessible?
ts
optional accessible: ACCESSIBLE;Specifies when a keychain item is accessible.
Platform
iOS, visionOS
Default
ts
ACCESSIBLE.AFTER_FIRST_UNLOCKauthenticationPrompt?
ts
optional authenticationPrompt: AuthenticationPrompt;Authentication prompt details.
Default
json
{
"title": "Authenticate to retrieve secret",
"cancel": "Cancel"
}securityLevel?
ts
optional securityLevel: SECURITY_LEVEL;The desired security level of the keychain item.
Platform
Android
storage?
ts
optional storage: STORAGE_TYPE;The storage type.
Platform
Android
Default
ts
'Best available storage'