Skip to content

ACCESSIBLE ​

Enum representing when a keychain item is accessible.

Enumeration Members ​

AFTER_FIRST_UNLOCK ​

ts
AFTER_FIRST_UNLOCK: "AccessibleAfterFirstUnlock";

The data in the keychain item cannot be accessed after a restart until the device has been unlocked once by the user.

Defined in ​

enums.ts:8


AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY ​

ts
AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY: "AccessibleAfterFirstUnlockThisDeviceOnly";

The data in the keychain item cannot be accessed after a restart until the device has been unlocked once by the user. Items with this attribute never migrate to a new device.

Defined in ​

enums.ts:16


ALWAYS ​

ts
ALWAYS: "AccessibleAlways";

The data in the keychain item can always be accessed regardless of whether the device is locked.

Defined in ​

enums.ts:10


WHEN_PASSCODE_SET_THIS_DEVICE_ONLY ​

ts
WHEN_PASSCODE_SET_THIS_DEVICE_ONLY: "AccessibleWhenPasscodeSetThisDeviceOnly";

The data in the keychain can only be accessed when the device is unlocked. Only available if a passcode is set on the device. Items with this attribute never migrate to a new device.

Defined in ​

enums.ts:12


WHEN_UNLOCKED ​

ts
WHEN_UNLOCKED: "AccessibleWhenUnlocked";

The data in the keychain item can be accessed only while the device is unlocked by the user.

Defined in ​

enums.ts:6


WHEN_UNLOCKED_THIS_DEVICE_ONLY ​

ts
WHEN_UNLOCKED_THIS_DEVICE_ONLY: "AccessibleWhenUnlockedThisDeviceOnly";

The data in the keychain item can be accessed only while the device is unlocked by the user. Items with this attribute do not migrate to a new device.

Defined in ​

enums.ts:14