js-apidiff-user-authentication.md 549 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
# 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|