TouchID


Purpose

Represents an object that enables support for user credentials secured by the TouchId mechanism. This functionality is available on selected iOS devices.

Note

The TouchID functionality is active once it has been activated in the device's system settings. Check your system settings and make sure that both Passcode and TouchID functions are active.

The object can be accessed using the launchbox.TouchID reference.

Module

This object belongs to the Touch ID product module.

Constants

The table below lists all constant values of the TouchID object, used as failure codes in the onError methods in this API.

Name Description
AHCTouchIdErrorPasscodeNotSet Denotes that a passcode has not been set.
AHCTouchIdErrorInvalidCredentials Denotes that invalid credentials have been provided..
AHCTouchIdErrorKeychain Denotes that the keychain is invalid.
AHCTouchIdErrorEmptyKeychain Denotes that the keychain is empty.
AHCTouchIdErrorInvalidFingerprint Denotes that an error has occurred during fingerprint verification.
AHCTouchIdErrorItemExist Denotes that an item already exists.
AHCTouchIdErrorCanceledByUser Denotes that an action has been canceled by the user.

Methods

Name Description Return type
checkAvailability

Checks whether the TouchId functionality is available and the passcode is set.

undefined
saveCredentials

Saves credentials in the keychain. Does not require authentication.

undefined
getCredentials

Obtains credentials from a TouchID-secured keychain. Can be used to capture a fingerprint.

undefined
deleteCredentials

Deletes credentials from a TouchID-secured keychain. Does not require authentication.

undefined

Related topics

Public API reference
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...