Property | Type | Default value | Required | Description |
success | function | - | False | Callback function for successful API calls |
fail | function | - | False | Callback function for failed API calls |
complete | function | - | False | Callback function executed after API call ends (regardless of success or failure) |
Property | Type | Description |
isEnrolled | boolean | Whether the information has been entered. |
errMsg | string | Error message. |
wx.checkIsSoterEnrolledInDevice({success(res) {console.log(res.isEnrolled)}})
Property | Type | Default value | Required | Description |
success | function | - | False | Callback function for successful API calls |
fail | function | - | False | Callback function for failed API calls |
complete | function | - | False | Callback function executed after API call ends (regardless of success or failure) |
wx.checkIsSupportSoterAuthentication({success() {// Support biometric authentication}})
Property | Type | Default value | Required | Description |
authContent | string | '' | False | Verification description, i.e. the prompts displayed during the authentication |
success | function | - | False | Callback function for successful API calls |
fail | function | - | False | Callback function for failed API calls |
complete | function | - | False | Callback function executed after API call ends (regardless of success or failure) |
wx.startSoterAuthentication({authContent: 'Unlock biometric authentication',success() {// Authentication successful}})
Feedback