You need to sign in or sign up before continuing.
未验证 提交 35add78e 编写于 作者: O openharmony_ci 提交者: Gitee

!17802 [翻译完成】#I6TM8C

Merge pull request !17802 from Annie_wang/PR16721
# Account Subsystem Changelog
## cl.account_os_account.1 Allowing Spaces in App Account Names
Before the change, when an account name containing a space is passed in, an error will be returned. Now, the account names can contain spaces.
**Change Impact**
Applications developed based on earlier versions are not affected.
From this version, the account names in app account APIs are no longer checked for spaces.
**Key API/Component Changes**
The following APIs are involved:
- AppAccountManager
- createAccount(name: string, callback: AsyncCallback<void>): void;
- auth(name: string, owner: string, authType: string, callback: AuthCallback): void;
- setAppAccess(name: string, bundleName: string, isAccessible: boolean, callback: AsyncCallback<void>): void;
- setCredential(name: string, credentialType: string, credential: string, callback: AsyncCallback<void>): void;
- setCustomData(name: string, key: string, value: string, callback: AsyncCallback<void>): void;
- setAuthToken(name: string, authType: string, token: string, callback: AsyncCallback<void>): void;
- setAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean, callback: AsyncCallback<void>): void;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册