JS API Changes of the User IAM Subsystem

The table below lists the APIs changes of the user IAM subsystem in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1.

API Changes

Module Class Method/Attribute/Enumeration/Constant Change Type
ohos.userIAM.faceAuth ResultCode FAIL = 1 Added
ohos.userIAM.faceAuth ResultCode SUCCESS = 0 Added
ohos.userIAM.faceAuth FaceAuthManager setSurfaceId(surfaceId: string): ResultCode; Added
ohos.userIAM.faceAuth FaceAuthManager constructor(); Added