LocalAuthentication


Purpose

Enables you to implement a mechanism to block access to an app unless the user enters a passcode or uses the touchID functionality, by providing information whether the user entered valid credentials.

Depending on which method is available and enabled on a particular device, the authentication mechanism asks for the device's passcode or fingerprint validation. The API can only be used on devices that support it. Therefore, it is necessary to verify presence of this the functionality in advance.

This API is available for iOS devices only.

An instance of the LocalAuthentication object can be obtained via the LocalAuthentication reference.

Caution

This API is deprecated. It has been replaced by the Authentication API and its methods. It is included in the product in order to provide backward compatibility with existing applications.

Module

This object belongs to the Local Authentication product module.

Methods

Name Description
authenticate

Begins authentication and calls a callback with the result.

Related topics

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