harmony 鸿蒙帐号子系统changeLog

  • 2023-06-24
  • 浏览 (604)

帐号子系统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;

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙元能力子系统JS API变更Changelog

harmony 鸿蒙arkui子系统ChangeLog

harmony 鸿蒙包管理子系统ChangeLog

harmony 鸿蒙输入法框架子系统-输入法框架服务ChangeLog

harmony 鸿蒙资源调度子系统ChangeLog

harmony 鸿蒙主题框架子系统-锁屏管理服务ChangeLog

harmony 鸿蒙电话子系统ChangeLog

harmony 鸿蒙util系统JS API变更Changelog

harmony 鸿蒙主题框架子系统-壁纸管理服务ChangeLog

0  赞