diff --git a/zh-cn/application-dev/reference/apis/js-apis-appAccount-authorizationExtensionAbility.md b/zh-cn/application-dev/reference/apis/js-apis-appAccount-authorizationExtensionAbility.md index ede119f8e3321f934d74a539c65ddc8eec570425..bb71697648ff81861f484ead8d64972876221f11 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-appAccount-authorizationExtensionAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-appAccount-authorizationExtensionAbility.md @@ -9,7 +9,7 @@ ## 导入模块 ```ts -import AuthorizationExtensionAbility from '@ohos.account.appAccount.AuthorizationExtensionAbility'; +import AuthorizationExtensionAbility, { AuthorizationRequest, AuthorizationCallback } from '@ohos.account.appAccount.AuthorizationExtensionAbility'; ``` ## AuthorizationRequest diff --git a/zh-cn/application-dev/reference/apis/js-apis-appAccount.md b/zh-cn/application-dev/reference/apis/js-apis-appAccount.md index 31d2b7a8ef33384558e1b2b030b3decfcd56c0a1..51652fe6977293fb0a0e3ce9d00bb509d25029b3 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-appAccount.md +++ b/zh-cn/application-dev/reference/apis/js-apis-appAccount.md @@ -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. | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-osAccount.md b/zh-cn/application-dev/reference/apis/js-apis-osAccount.md index aa40fd84c2d1fdbc76679d7c61d9019bab257ed6..a060724ea6a44e80d7fdf8780d3c40600d71995c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-osAccount.md +++ b/zh-cn/application-dev/reference/apis/js-apis-osAccount.md @@ -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. | diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-account.md b/zh-cn/application-dev/reference/errorcodes/errorcode-account.md index 5ecb53db80372d488d7be6f5a3d388eec685d185..7084a812ea6e83486e3547f0ac0ec80ee06c5462 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcode-account.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcode-account.md @@ -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 credential inputer already exists. **可能原因** @@ -283,7 +304,7 @@ PIN码输入器已注册,解注册之前无法重复注册。 **错误信息** -The crdential inputer not found. +The credential 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. **可能原因** -该错误码表示认证被取消,可能原因如下: +该错误码表示认证、凭据录入、更新等操作被取消,可能原因如下: 认证过程中,用户取消认证操作。 +录入凭据过程中,用户取消录入操作。 +录入凭据过程中,用户取消更新操作。 **处理步骤**