# KeychainItemType
Dictionary passed to the createKeychainItem
method.
NOTE
This is an abstract type. Any object of this structure can be used where this type is used.
# Properties
# accessControlMode
Optional constants used to determine the access control with the specified
protection type and flags. The constants can be concatenated by using the
Bit OR operator, e.g. optionA | optionB | optionC
.
- Modules.Identity.ACCESS_CONTROL_USER_PRESENCE
- Modules.Identity.ACCESS_CONTROL_TOUCH_ID_ANY
- Modules.Identity.ACCESS_CONTROL_TOUCH_ID_CURRENT_SET
- Modules.Identity.ACCESS_CONTROL_DEVICE_PASSCODE
- Modules.Identity.ACCESS_CONTROL_OR
- Modules.Identity.ACCESS_CONTROL_AND
- Modules.Identity.ACCESS_CONTROL_PRIVATE_KEY_USAGE
- Modules.Identity.ACCESS_CONTROL_APPLICATION_PASSWORD
# accessGroup
Optional identifier used to define the access group the keychain item should be valid. This can be used to share a keychain item across two or more apps that use the same organization group identifier. More information about keychain access groups can be found in the official iOS documentation.
# accessibilityMode
Optional constant used for determining when a keychain item should be readable. Use this property with caution to enable advanced access control. More information about this property and it's values can be found in the official iOS documentation.
- Modules.Identity.ACCESSIBLE_WHEN_UNLOCKED
- Modules.Identity.ACCESSIBLE_AFTER_FIRST_UNLOCK
- Modules.Identity.ACCESSIBLE_ALWAYS
- Modules.Identity.ACCESSIBLE_WHEN_PASSCODE_SET_THIS_DEVICE_ONLY
- Modules.Identity.ACCESSIBLE_WHEN_UNLOCKED_THIS_DEVICE_ONLY
- Modules.Identity.ACCESSIBLE_AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY
- Modules.Identity.ACCESSIBLE_ALWAYS_THIS_DEVICE_ONLY
# cipher
Define the cipher used to encrypt keychain items. Android supported ciphers
Default: AES/CBC/PKCS7Padding
# identifier
Required identifier to create or receive a keychain item. The identifier cannot contain alphanumeric characters or it might be rejected by the keychain.
# options
Optional parameter used to specify additional values to the keychain.
Example: The raw-value of kSecUseOperationPrompt
is u_OpPrompt
, so
you could specify options: {'u_OpPrompt': 'Please authenticate yourself!'}
.
# service
A key whose value is a string indicating the item's service. Defaults
to ti.touchid
if not set for backwards compatibility with the deprecated
Ti.TouchID module. This property is required when using app extensions
and should also include the app-prefix (aka team-ID).