Skip to content

GetOptions ​

ts
type GetOptions: object & BaseOptions & AccessControlOption;

Type declaration ​

accessControl? ​

ts
optional accessControl: ACCESS_CONTROL;

The access control policy to use for the keychain item. On Android, omitted options reuse the policy saved with the credentials. An explicit policy can narrow, but cannot broaden, the saved policy. Older entries without a saved policy allow strong biometrics or device credentials on Android 11+, and strong biometrics on earlier versions.

authenticationPrompt? ​

ts
optional authenticationPrompt: AuthenticationPrompt;

Authentication prompt details.

Default ​

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

Defined in ​

types.ts:78