【发布时间】:2016-11-13 16:24:11
【问题描述】:
我正在构建一个 android 应用程序,我需要使用指纹 api 通过用户名和密码(在后台)对用户进行身份验证。
这是我最简单的理解我需要做什么。
在用户输入用户名和密码后登录时, 成功通过后端身份验证,我生成并存储一个 具有这些凭据的特定密钥库到 androidkeystore。
下次登录时,如果用户通过 指纹,从中检索凭据(用户名和密码) android 密钥库并在后端对用户进行身份验证 这些凭据。
我已关注: http://www.techotopia.com/index.php/An_Android_Fingerprint_Authentication_Tutorial
这提供了一个很好的示例,说明如何使用指纹 API 对设备的用户进行身份验证。但是如何取回凭据,以便通过后端对用户进行身份验证?
对于我想做的事情,有什么步骤、建议或详细示例吗?
谢谢。
【问题讨论】:
-
也许这篇文章可以帮到你:sitepoint.com/…
标签: android android-keystore android-security android-authenticator android-fingerprint-api