Skip to main content
Version: 9.2.x

Type Alias: GetOptions

GetOptions: object & BaseOptions & AccessControlOption

Base options for keychain functions.

Type declaration​

accessControl?​

optional accessControl: ACCESS_CONTROL

The access control policy to use for the keychain item.

authenticationPrompt?​

optional authenticationPrompt: string | AuthenticationPrompt

Authentication prompt details or a title string.

Default​

{
"title": "Authenticate to retrieve secret",
"cancel": "Cancel"
}

rules?​

optional rules: SECURITY_RULES

The security rules to apply when storing the keychain item.

Platform​

Android

Default​

SECURITY_RULES.AUTOMATIC_UPGRADE

Defined in​

types.ts:78