如何使服务器知道根据指纹抖动发送哪些数据? [英] How to make server know what data to send depending on fingerprint flutter?

查看:51
本文介绍了如何使服务器知道根据指纹抖动发送哪些数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望将登录名从用户名和密码替换为颤动的指纹,因此用户在拥有成功的指纹后,将在应用程序中看到其信息(此信息从服务器发送).我该如何管理我想要一些东西来使此指纹与此用户连接,以便从服务器获取正确的数据?我使用 local_auth 进行指纹身份验证,但我不知道告诉服务器该指纹与该用户相关联.

I want to replace the login to the app from username and password to fingerprint in flutter, so the user when have successful fingerprint he will see his information in the application (this information send from server). How I can manage that I want some thing to make this fingerprint connected with this user to get correct data from server ?. I use local_auth for fingerprint authentication but I have no idea to tell server this fingerprint is associated for this user.

我读了这样的东西来解决这个问题:

I read some thing like this to handle this:

  1. 首次安装应用程序时,要求用户输入(用户名和密码),然后将其保存为共享首选项.(此页面只会出现一次).
  2. 在显示屏幕之后,要求用户使用指纹登录(如果存在)或要求他创建一个(如果不存在).
  3. 每次用户运行应用程序时,如果经过身份验证,则仅需要指纹,然后通过发送保存在共享首选项中的userId来从服务器获取数据.

还有什么更好的方法吗?

is there is any way better this way ?

推荐答案

指纹是位于用户电话中安全位置的用户生物特征数据.您无法访问这些二进制数据.要将用户数据发送到服务器,您必须提示他们手动输入他们的信息.然后,您可以通过指纹或您想要的任何其他方法来保护应用程序的使用,从而保护他们在应用程序中的隐私

Fingerprint is a User biometric data located in a secure place in the User phone. You cannot access these binary data. To send user data to your server, you must prompt them to manually enter their info. You can then protect their privacy in your app by protecting the app usage by Fingerprint or any other method you want

这篇关于如何使服务器知道根据指纹抖动发送哪些数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆