如何使服务器知道根据指纹抖动发送哪些数据?

编程入门 行业动态 更新时间:2024-10-20 16:36:01
本文介绍了如何使服务器知道根据指纹抖动发送哪些数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我希望将登录名从用户名和密码替换为颤动的指纹,因此用户在拥有成功的指纹后,将在应用程序中看到其信息(此信息从服务器发送).我该如何管理我想要一些东西来使此指纹与此用户连接,以便从服务器获取正确的数据?我使用 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:

  • 首次安装应用程序时,要求用户输入(用户名和密码),然后将其保存为共享首选项.(此页面只会出现一次).
  • 在显示屏幕之后,要求用户使用指纹登录(如果存在)或要求他创建一个(如果不存在).
  • 每次用户运行应用程序时,如果经过身份验证,则仅需要指纹,然后通过发送保存在共享首选项中的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

    更多推荐

    如何使服务器知道根据指纹抖动发送哪些数据?

    本文发布于:2023-10-12 17:06:35,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1485337.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:指纹   服务器   数据

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!