Biometric Authentication
Secure Apps With Devices Touch Id or Face Id
Last updated
Was this helpful?
Secure Apps With Devices Touch Id or Face Id
Last updated
Was this helpful?
This module explains the ways to use the Biometric authentication functions where you can use the devices Touch/Face Id to unlock an app or use it to secure pages.
If you have choose to handle biometric by yourself then following js apis will be required.
Use following code to show biometric in the app. If it is authenticated successfully then callback function will be called.
Use following code to save secret in the app. This secret will be returned when you show the biometric when user opens the app. Secret can be used for example to store a login token, using that token you can handle custom handling like get the user logged in.
Use following code to delete secret in the app.
Check status function will return if biometric is active.