# KeychainItemType

Dictionary passed to the createKeychainItem method.

Availability
6.1.0
6.1.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# accessControlMode

Availability
6.1.0
6.1.0
accessControlMode :Number

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.


# accessGroup

Availability
6.1.0
accessGroup :String

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

Availability
6.1.0
6.1.0
accessibilityMode :Number

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.


# cipher

Availability
6.1.0
cipher :String

Define the cipher used to encrypt keychain items. Android supported ciphers

Default: AES/CBC/PKCS7Padding


# identifier

Availability
6.1.0
6.1.0
identifier :String

Required identifier to create or receive a keychain item. The identifier cannot contain alphanumeric characters or it might be rejected by the keychain.


# options

Availability
6.1.0
options :Dictionary

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

Availability
6.1.0
service :String

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).