Biometric Authentication
Secure Apps With Devices Touch Id or Face Id
Show Biometric option
window.WTN.Biometric.show({
prompt:"Authenticate to continue!",
callback:function(data){
/* data returns the object below
{
isSuccess: true,
secret: 'saved secret token'
}
*/
}
});import { show } from "webtonative/Biometric";
show({
prompt:"Authenticate to continue!",
callback:function(data){
/* data returns the object below
{
isSuccess: true,
secret: 'saved secret token'
}
*/
}
});
Prompt - Used to show text to user when aithentication prompt is shown.
Callback - function called on user authenticating or cancelling the promt.
Save secret
Delete Secret
Check Status
Last updated