Skip to main content

Type Alias: SetOptions

SetOptions: object & BaseOptions & AccessControlOption

Type declaration​

accessible?​

optional accessible: ACCESSIBLE

Specifies when a keychain item is accessible.

Platform​

iOS, visionOS

Default​

ACCESSIBLE.AFTER_FIRST_UNLOCK

authenticationPrompt?​

optional authenticationPrompt: AuthenticationPrompt

Authentication prompt details or a title string.

Default​

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

securityLevel?​

optional securityLevel: SECURITY_LEVEL

The desired security level of the keychain item.

Platform​

Android

storage?​

optional storage: STORAGE_TYPE

The storage type.

Platform​

Android

Default​

'Best available storage'

Defined in​

types.ts:46