LocalAuthentication example


A snippet containing JavaScript that makes use of the LocalAuthentication API functionality is listed below.

if(window.launchbox.LocalAuthentication){
  window.launchbox.LocalAuthentication.authenticate(function(success){
    successAction(success);
    });
  }else{

// authentication not supported on device

  successAction(true);
}

Related topics

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