KeychainAccessibility
Inherits: Enum
KeyChain accessibility attributes for iOS/macOS platforms.
These attributes determine when the app can access secure values stored in the Keychain.
Properties
-
FIRST_UNLOCK–The data in the keychain item cannot be accessed after a restart until
-
FIRST_UNLOCK_THIS_DEVICE–The data in the keychain item cannot be accessed after
-
PASSCODE–The data in the keychain can only be accessed when the device is unlocked.
-
UNLOCKED–The data in the keychain item can be accessed only while
-
UNLOCKED_THIS_DEVICE–The data in the keychain item can be accessed only while
Properties#
FIRST_UNLOCK = 'first_unlock'
class-attribute
instance-attribute
#
The data in the keychain item cannot be accessed after a restart until the device has been unlocked once by the user.
Enables access to secure values after the device is unlocked for the first time after a reboot.
FIRST_UNLOCK_THIS_DEVICE = 'first_unlock_this_device'
class-attribute
instance-attribute
#
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 do not migrate to a new device.
Allows access to secure values only after the device is unlocked for the first time since installation on this device.
PASSCODE = 'passcode'
class-attribute
instance-attribute
#
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 do not migrate to a new device.
UNLOCKED = 'unlocked'
class-attribute
instance-attribute
#
The data in the keychain item can be accessed only while the device is unlocked by the user.
UNLOCKED_THIS_DEVICE = 'unlocked_this_device'
class-attribute
instance-attribute
#
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.