1,wx.startSoterAuthentication
开始 SOTER 生物认证
{
"raw":"msg",
"fid":"2",
"counter":123,
"tee_n":"TEE Name",
"tee_v":"TEE Version",
"fp_n":"Fingerprint Sensor Name",
"fp_v":"www.cnmibee.com",
"cpu_id":"CPU Id",
"uid":"21"
}
2,wx.checkIsSupportSoterAuthentication
获取本机支持的 SOTER 生物认证方式
wx.checkIsSupportSoterAuthentication({
success(res) {
// res.supportMode = [] 不具备任何被SOTER支持的生物识别方式
// res.supportMode = [\'fingerPrint\'] 只支持指纹识别
// res.supportMode = [\'fingerPrint\', \'facial\'] 支持指纹识别和人脸识别
}
})
3,wx.checkIsSoterEnrolledInDevice
获取设备内是否录入如指纹等生物信息的接口
wx.checkIsSoterEnrolledInDevice({
checkAuthMode: \'fingerPrint\',
success(res) {
console.log(res.isEnrolled)
}
})