dpzyd8865 2017-07-27 12:46
浏览 193

在php mysql上实现指纹认证

I am using PHP login API which I need to be integrated with a fingerprint login page. This means that the user doesn't need to type a password, he will put his fingerprint and if it's valid and recognized, then he will be able to login to this ios/android app. Is this possible? How can I do this?

I have app(ios/android) and php and mysql backend . I have to implement fingerprint authentication How can i achieve this using PHP API and this functionality only for client side. Please help.

Thanks in advance

  • 写回答

1条回答 默认 最新

  • dongpang1232 2017-07-27 13:01
    关注

    Add a column for the fingerprint to your users table. In you app code, you should get some sort of unique id once you have the fingerprint.

    First time they add their fingerprint, post to your API and add it to the users row.

    Second time, call a different login endpoint passing the unique id, and fetch that way.

    update - i just read apple only supply yes or no with touch id. i saw this question Generating Hash or String via TouchID in Swift and it says the way to do it is to get the uuid

    let uuid = NSUUID().UUIDString

    then you can say :

    let toHash = email + isAuthenticated + UUID

    评论

报告相同问题?

悬赏问题

  • ¥15 乘性高斯噪声在深度学习网络中的应用
  • ¥15 运筹学排序问题中的在线排序
  • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥30 python代码,帮调试,帮帮忙吧