# wx.checkIsSupportSoterAuthentication(Object object)

Start from base library version 1.5.0. Please remaining backward compatible.

with Promise style call: Supported

Mini Program plugin: Not supported

Gets the natively supported SOTER Biometric authentication method

# parameter

# Object object

attribute type Default values Required Introductions
success function no Interface calls the successful callback function
fail function no Interface calls failed callback functions
complete function no Interface calls the end of the callback function (call success or failure will be executed)

# object.success callback

# parameter
# Object res
attribute type Introductions
supportMode Array.&ltstring&gt Biometrics supported by the device that can be identified by SOTER

res.supportMode Legal value

value Introductions Minimum version
fingerPrint Fingerprint identification
facial Face recognition
speech Voiceprint recognition (not yet supported)

# sample code

  success(res) {
    // res.supportMode = [] No biometrics supported by SOTER
    // res.supportMode = ['fingerPrint'] Fingerprint recognition only
    // res.supportMode = ['fingerPrint', 'facial'] Support for fingerprint and face recognition