deleteCredentials


Purpose

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

Signature

deleteCredentials( callback )

Returns

This method does not return anything.

Parameter

Name Description Type Use
callback A JavaScript object, as described below. object required

Callback structure

The deleteCredentials method's callback object can be structured as follows:

{
  onSuccess: function() { ... },
  onFailure: function({code, description}) { ... }
}

Methods

Name Description Return type
onSuccess This method is called after credentials are successfully deleted from the keychain. undefined
onFailure This method is called if the process fails. It passes an error object with two properties: code, which contains an error code, and description, which contains a human-readable error description. undefined

Related topics

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