From 763009aa4e5b6e3ade7546741dbe3365ea939c66 Mon Sep 17 00:00:00 2001 From: Annie_wang Date: Fri, 28 Apr 2023 17:56:21 +0800 Subject: [PATCH] update docs Signed-off-by: Annie_wang --- .../changelogs-account_os_account.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 en/release-notes/changelogs/v3.2-Release/changelogs-account_os_account.md diff --git a/en/release-notes/changelogs/v3.2-Release/changelogs-account_os_account.md b/en/release-notes/changelogs/v3.2-Release/changelogs-account_os_account.md new file mode 100644 index 0000000000..6b5510b30e --- /dev/null +++ b/en/release-notes/changelogs/v3.2-Release/changelogs-account_os_account.md @@ -0,0 +1,22 @@ +# 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; -- GitLab