[Touch ID Plugin] How to use TouchOptions ?

Forge Component
Published on 2018-12-06 by OutSystems R&D
11 votes
Published on 2018-12-06 by OutSystems R&D


I need to know the requirement of TouchOptions.

Can I make use of it to store the username and password so that when user authenticates through Faceid, their credentials are fetched from TouchOptions data and then used to authenticate user using Login web service?

If not, what are the possible ways to authenticate the user via FaceId and auto-login them into the app?


Shreyas Bhondve


I will share with you how I do it in mine case.

So at the first time at the login we ask the user to insert a pin code. And to confirm to. With a pin pad. And we "store" this.

After that when user wants to unlock the app, he could use the touch id or face id, depending of your phone settings. If this goes wrong several times (you can defined the counter), we send the user again to pin pad to unlock with the code that he defines. 

This help?