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

!16721 应用帐号取消空格限制changelog

Merge pull request !16721 from lichenchen/master
# 帐号子系统changeLog
## cl.account_os_account.1 应用帐号取消帐号名中空格字符限制
变更前,应用帐号接口传入包含空格字符的帐号名时,返回无效参数错误;变更后,不报错。
**变更影响**
基于此前版本开发的应用不受变更影响;
基于此后版本开发的应用,调用API 9以及之后版本的应用帐号相关接口,帐号名不再做空格字符限制。
**关键接口/组件变更**
涉及的接口:
- 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.
先完成此消息的编辑!
想要评论请 注册