简体   繁体   English

iOS Touch ID公钥和私钥

[英]IOS Touch ID Public and Private key

How can I get public key touch id on the server? 如何获取服务器上的公钥触摸ID? Touch ID private and public keys for verification on the server. 触摸ID私钥和公钥以在服务器上进行验证。

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. Touch只是本地身份验证框架,您不会从Touch ID身份验证中获得任何密钥,只能询问设备是否具有Touch ID,并且可以要求评估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. 当您评估TouchID时,会向用户显示扫描Touch ID的警报。一旦用户完成操作,API将返回结果成功/失败。

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. 这是教程的链接。

Toich ID usage Toich ID的用法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM