简体   繁体   中英

iOS Touch ID for Web Development

I am currently trying to figure out a way where I can build a responsive website, however once the website loads on an iOS Device I wanted to use the new iOS Touch ID api to allow members to login. I know it is possible to do such things using Native ofcourse and also Cordova ( http://cordova.apache.org/ ) but I want it to work as an authentication system with nearly any web development code base.

There is a Apache Cordova plugin that gives you a simple Javascript API . Using it becomes a simple call like this:

 touchid.checkSupport(successCallback, notSupportedCallback);
 touchid.authenticate(successCallback, failureCallback, text);

Hope that helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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