未验证 提交 f5b53751 编写于 作者: O openharmony_ci 提交者: Gitee

!13273 更新IAM资料

Merge pull request !13273 from youliang_1314/master
...@@ -277,7 +277,7 @@ start : () => void ...@@ -277,7 +277,7 @@ start : () => void
| -------- | ------- | | -------- | ------- |
| 201 | Permission verification failed. | | 201 | Permission verification failed. |
| 401 | Incorrect parameters. | | 401 | Incorrect parameters. |
| 12500001 | Execution failed. | | 12500001 | Authentication failed. |
| 12500002 | General operation error. | | 12500002 | General operation error. |
| 12500003 | The operation is canceled. | | 12500003 | The operation is canceled. |
| 12500004 | The operation is time-out. | | 12500004 | The operation is time-out. |
...@@ -489,7 +489,7 @@ try { ...@@ -489,7 +489,7 @@ try {
| 名称 | 值 | 说明 | | 名称 | 值 | 说明 |
| ----------------------- | ------ | -------------------- | | ----------------------- | ------ | -------------------- |
| SUCCESS | 12500000 | 执行成功。 | | SUCCESS | 12500000 | 执行成功。 |
| FAIL | 12500001 | 执行失败。 | | FAIL | 12500001 | 认证失败。 |
| GENERAL_ERROR | 12500002 | 操作通用错误。 | | GENERAL_ERROR | 12500002 | 操作通用错误。 |
| CANCELED | 12500003 | 操作取消。 | | CANCELED | 12500003 | 操作取消。 |
| TIMEOUT | 12500004 | 操作超时。 | | TIMEOUT | 12500004 | 操作超时。 |
...@@ -802,7 +802,7 @@ auth.auth(null, userIAM_userAuth.UserAuthType.FACE, userIAM_userAuth.AuthTrustLe ...@@ -802,7 +802,7 @@ auth.auth(null, userIAM_userAuth.UserAuthType.FACE, userIAM_userAuth.AuthTrustLe
| 名称 | 值 | 说明 | | 名称 | 值 | 说明 |
| ----------------------- | ------ | -------------------- | | ----------------------- | ------ | -------------------- |
| SUCCESS | 0 | 执行成功。 | | SUCCESS | 0 | 执行成功。 |
| FAIL | 1 | 执行失败。 | | FAIL | 1 | 认证失败。 |
| GENERAL_ERROR | 2 | 操作通用错误。 | | GENERAL_ERROR | 2 | 操作通用错误。 |
| CANCELED | 3 | 操作取消。 | | CANCELED | 3 | 操作取消。 |
| TIMEOUT | 4 | 操作超时。 | | TIMEOUT | 4 | 操作超时。 |
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
具体参见[通用错误码](./errorcode-universal.md) 具体参见[通用错误码](./errorcode-universal.md)
## 12500001 执行认证失败 ## 12500001 认证失败
**错误信息** **错误信息**
...@@ -20,11 +20,11 @@ Authentication failed. ...@@ -20,11 +20,11 @@ Authentication failed.
**可能原因** **可能原因**
出现该错误码一般是系统内部错误,例如内存申请失败、内存拷贝出错等 当前凭据与设备里已经录入的凭据比对失败
**处理步骤** **处理步骤**
启设备,重新调用接口 新发起认证
## 12500002 一般的操作错误 ## 12500002 一般的操作错误
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册