Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
5e9cdef0
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
5e9cdef0
编写于
6月 30, 2023
作者:
O
openharmony_ci
提交者:
Gitee
6月 30, 2023
浏览文件
操作
浏览文件
下载
差异文件
!20289 fix errorCode description, demo code problem
Merge pull request !20289 from jidong/dev063001
上级
60677ae0
53eda964
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
34 addition
and
11 deletion
+34
-11
zh-cn/application-dev/reference/apis/js-apis-appAccount-authorizationExtensionAbility.md
.../apis/js-apis-appAccount-authorizationExtensionAbility.md
+1
-1
zh-cn/application-dev/reference/apis/js-apis-appAccount.md
zh-cn/application-dev/reference/apis/js-apis-appAccount.md
+2
-2
zh-cn/application-dev/reference/apis/js-apis-osAccount.md
zh-cn/application-dev/reference/apis/js-apis-osAccount.md
+2
-2
zh-cn/application-dev/reference/errorcodes/errorcode-account.md
...application-dev/reference/errorcodes/errorcode-account.md
+29
-6
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-appAccount-authorizationExtensionAbility.md
浏览文件 @
5e9cdef0
...
...
@@ -9,7 +9,7 @@
## 导入模块
```
ts
import
AuthorizationExtensionAbility
from
'
@ohos.account.appAccount.AuthorizationExtensionAbility
'
;
import
AuthorizationExtensionAbility
,
{
AuthorizationRequest
,
AuthorizationCallback
}
from
'
@ohos.account.appAccount.AuthorizationExtensionAbility
'
;
```
## AuthorizationRequest
...
...
zh-cn/application-dev/reference/apis/js-apis-appAccount.md
浏览文件 @
5e9cdef0
...
...
@@ -730,7 +730,7 @@ setCredential(name: string, credentialType: string, credential: string,callback:
| 错误码ID | 错误信息|
| ------- | -------|
| 12300001 | System service exception. |
| 12300002 | Invalid name
or
credentialType or credential. |
| 12300002 | Invalid name
,
credentialType or credential. |
| 12300003 | Account not found. |
**示例:**
...
...
@@ -776,7 +776,7 @@ setCredential(name: string, credentialType: string, credential: string): Promise
| 错误码ID | 错误信息|
| ------- | -------|
| 12300001 | System service exception. |
| 12300002 | Invalid name
or
credentialType or credential. |
| 12300002 | Invalid name
,
credentialType or credential. |
| 12300003 | Account not found. |
**示例:**
...
...
zh-cn/application-dev/reference/apis/js-apis-osAccount.md
浏览文件 @
5e9cdef0
...
...
@@ -4107,7 +4107,7 @@ auth(challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel,
| 错误码ID | 错误信息 |
| -------- | --------------------- |
| 12300001 | System service exception. |
| 12300002 | Invalid challenge
or
authType or authTrustLevel. |
| 12300002 | Invalid challenge
,
authType or authTrustLevel. |
| 12300101 | Credential is incorrect. |
| 12300105 | Unsupported authTrustLevel. |
| 12300106 | Unsupported authType. |
...
...
@@ -4166,7 +4166,7 @@ authUser(userId: number, challenge: Uint8Array, authType: AuthType, authTrustLev
| 错误码ID | 错误信息 |
| -------- | --------------------- |
| 12300001 | System service exception. |
| 12300002 | Invalid userId
or challenge or
authType or authTrustLevel. |
| 12300002 | Invalid userId
, challenge,
authType or authTrustLevel. |
| 12300101 | Credential is incorrect. |
| 12300105 | Unsupported authTrustLevel. |
| 12300106 | Unsupported authType. |
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-account.md
浏览文件 @
5e9cdef0
...
...
@@ -230,6 +230,27 @@ The event listener has not been registered.
请使用注册的监听器执行解注册操作
## 12300013 网络异常
**错误信息**
The network exception.
**可能原因**
该错误码表示网络异常,可能原因如下:
1.
未连接网络;
2.
联网异常;
3.
应用无联网权限;
4.
未知的网络错误;
**处理步骤**
1.
连接网络;
2.
确保网络可以正常联网;
3.
确保应用具有联网权限;
4.
重试相关操作;
## 12300101 凭据不正确
**错误信息**
...
...
@@ -241,7 +262,7 @@ The credential is incorrect.
该错误码表示凭据不正确,可能原因如下:
1.
密码输入错误;
2.
生物特征不匹配;
2
.
令牌失效;
3
.
令牌失效;
**处理步骤**
...
...
@@ -268,7 +289,7 @@ The credential does not exist.
**错误信息**
The crdential inputer already exists.
The cr
e
dential inputer already exists.
**可能原因**
...
...
@@ -283,7 +304,7 @@ PIN码输入器已注册,解注册之前无法重复注册。
**错误信息**
The crdential inputer not found.
The cr
e
dential inputer not found.
**可能原因**
...
...
@@ -355,16 +376,18 @@ The authentication session does not exist.
请使用已成功打开的会话标识查询会话回调。
## 12300109 认证被取消
## 12300109 认证
、凭据录入、更新等操作
被取消
**错误信息**
The authentication is canceled.
The authentication
, enrollment, update operation
is canceled.
**可能原因**
该错误码表示认证被取消,可能原因如下:
该错误码表示认证
、凭据录入、更新等操作
被取消,可能原因如下:
认证过程中,用户取消认证操作。
录入凭据过程中,用户取消录入操作。
录入凭据过程中,用户取消更新操作。
**处理步骤**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录