LocalAuthentication example


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

1
2
3
4
5
6
7
8
9
10
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 © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...