macos touchid:用于与macOS本地身份验证(例如TouchID)一起使用的本机Node.js模块 源码
macos-touchid 用于macOS本地身份验证(例如TouchID)的本机模块 用法 var touchid = require ( 'macos-touchid' ) if ( touchid . canAuthenticate ( ) === false ) { throw new Error ( 'No authentication method available' ) } touchid . authenticate ( 'authenticate you' , function ( err , didAuthenticate ) { if ( err ) throw err console . log ( didAuthenticate ? `You're in!` : 'You will be terminated' ) } ) 原料药 const bo
文件列表
macos-touchid-master.zip
(预估有个9文件)
macos-touchid-master
.travis.yml
1KB
index.js
54B
package.json
951B
LICENSE
744B
example.js
126B
.gitignore
6B
index.m
5KB
README.md
1KB
binding.gyp
486B
暂无评论