From 6dfaf91217d9d99d9a797486bd35904d7e56f874 Mon Sep 17 00:00:00 2001 From: youliang_1314 Date: Thu, 5 Jan 2023 09:59:37 +0000 Subject: [PATCH] update iam doc Signed-off-by: youliang_1314 Change-Id: I57ea0bbaa6dfd7213231d1f65cddfe2723fa7976 --- .../reference/apis/js-apis-useriam-userauth.md | 6 +++--- .../reference/errorcodes/errorcode-useriam.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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 1af4f69de5..d78151eaa8 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 @@ -277,7 +277,7 @@ start : () => void | -------- | ------- | | 201 | Permission verification failed. | | 401 | Incorrect parameters. | -| 12500001 | Execution failed. | +| 12500001 | Authentication failed. | | 12500002 | General operation error. | | 12500003 | The operation is canceled. | | 12500004 | The operation is time-out. | @@ -489,7 +489,7 @@ try { | 名称 | 值 | 说明 | | ----------------------- | ------ | -------------------- | | SUCCESS | 12500000 | 执行成功。 | -| FAIL | 12500001 | 执行失败。 | +| FAIL | 12500001 | 认证失败。 | | GENERAL_ERROR | 12500002 | 操作通用错误。 | | CANCELED | 12500003 | 操作取消。 | | TIMEOUT | 12500004 | 操作超时。 | @@ -802,7 +802,7 @@ auth.auth(null, userIAM_userAuth.UserAuthType.FACE, userIAM_userAuth.AuthTrustLe | 名称 | 值 | 说明 | | ----------------------- | ------ | -------------------- | | SUCCESS | 0 | 执行成功。 | -| FAIL | 1 | 执行失败。 | +| FAIL | 1 | 认证失败。 | | GENERAL_ERROR | 2 | 操作通用错误。 | | CANCELED | 3 | 操作取消。 | | TIMEOUT | 4 | 操作超时。 | diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-useriam.md b/zh-cn/application-dev/reference/errorcodes/errorcode-useriam.md index d8a1feb371..c7bb873862 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcode-useriam.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcode-useriam.md @@ -12,7 +12,7 @@ 具体参见[通用错误码](./errorcode-universal.md) -## 12500001 执行认证失败 +## 12500001 认证失败 **错误信息** @@ -20,11 +20,11 @@ Authentication failed. **可能原因** -出现该错误码一般是系统内部错误,例如内存申请失败、内存拷贝出错等。 +当前凭据与设备里已经录入的凭据比对失败。 **处理步骤** -重启设备,重新调用接口。 +重新发起认证。 ## 12500002 一般的操作错误 -- GitLab