Reputation: 41
How can I get public key touch id on the server? Touch ID private and public keys for verification on the server.
Upvotes: 1
Views: 1122
Reputation: 608
Touch is only a Local authentication framework.you will not get any keys from Touch Id authentication.Only you can ask whether device is capable of Touch ID and you can ask to evaluate Touch ID.
When you evaluate TouchID, user is presented with an alert to scan touch ID.Once user completed the action, API will return the result success/failure.
If you want to send some login credentials to server, you need to save them locally when user entered first time, then extract them when user is authenticated successfully.
Here is a link to tutorial.
Upvotes: 5