diff --git a/zh-cn/application-dev/reference/apis/js-apis-useriam-userauth.md b/zh-cn/application-dev/reference/apis/js-apis-useriam-userauth.md index b21fa643219d6d77645c8851ad2eed212b32a9b2..97940a9d991bf61c0e01dc85d6e284092117d8e4 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-useriam-userauth.md +++ b/zh-cn/application-dev/reference/apis/js-apis-useriam-userauth.md @@ -494,6 +494,7 @@ getAuthenticator(): Authenticator **系统能力**:SystemCapability.UserIAM.UserAuth.Core **返回值:** + | 类型 | 说明 | | ----------------------------------------- | ------------ | | [Authenticator](#authenticatordeprecated) | 认证器对象。 | @@ -565,12 +566,14 @@ execute(type:AuthType, level:SecureLevel): Promise<number> **系统能力**:SystemCapability.UserIAM.UserAuth.Core **参数:** + | 参数名 | 类型 | 必填 | 说明 | | ------ | ------ | ---- | ------------------------------------------------------------ | | type | AuthType | 是 | 认证类型,当前只支持"FACE_ONLY"。
ALL为预留参数,当前版本暂不支持ALL类型的认证。 | | level | SecureLevel | 是 | 安全级别,对应认证的安全级别,有效值为"S1"(最低)、"S2"、"S3"、"S4"(最高)。
具备3D人脸识别能力的设备支持"S3"及以下安全级别的认证。
具备2D人脸识别能力的设备支持"S2"及以下安全级别的认证。 | **返回值:** + | 类型 | 说明 | | --------------------- | ------------------------------------------------------------ | | Promise<number> | 返回携带一个number的Promise。number 为认证结果,参见[AuthenticationResult](#authenticationresultdeprecated)。 |