| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Deleted|Class name: AuthorizationExtensionAbility;
Method or attribute name: onStartAuthorization(request: AuthorizationRequest, callback: AuthorizationCallback): void;|NA|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|Deleted|Class name: AuthorizationRequest;
Method or attribute name: readonly callerUid: number;|NA|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|Deleted|Class name: AuthorizationRequest;
Method or attribute name: readonly parameters: appAccount.AccountCapabilityRequest;|NA|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|Deleted|Class name: AuthorizationCallback;
Method or attribute name: onResult: AsyncCallback\;|NA|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|Deleted|Class name: AccountCapabilityType;
Method or attribute name: AUTHORIZATION = 1|NA|@ohos.account.appAccount.d.ts|
|Deleted|Class name: AccountCapabilityProvider;
Method or attribute name: readonly capabilityType: AccountCapabilityType;|NA|@ohos.account.appAccount.d.ts|
|Deleted|Class name: AccountCapabilityProvider;
Method or attribute name: constructor(capabilityType: AccountCapabilityType);|NA|@ohos.account.appAccount.d.ts|
|Deleted|Class name: AuthorizationProvider;
Method or attribute name: constructor(info: AuthorizationProviderInfo);|NA|@ohos.account.appAccount.d.ts|
|Deleted|Class name: AuthorizationProviderInfo;
Method or attribute name: readonly bundleName: string;|NA|@ohos.account.appAccount.d.ts|
|Deleted|Class name: AuthorizationProviderInfo;
Method or attribute name: readonly abilityName: string;|NA|@ohos.account.appAccount.d.ts|
|Deleted|Class name: AccountCapabilityRequest;
Method or attribute name: constructor(provider: AccountCapabilityProvider);|NA|@ohos.account.appAccount.d.ts|
|Deleted|Class name: AccountCapabilityResponse;
Method or attribute name: readonly request: AccountCapabilityRequest;|NA|@ohos.account.appAccount.d.ts|
|Deleted|Class name: AccountCapabilityResponse;
Method or attribute name: constructor(request: AccountCapabilityRequest);|NA|@ohos.account.appAccount.d.ts|
|Deleted|Class name: AccountCapabilityScheduler;
Method or attribute name: executeRequest(
request: AccountCapabilityRequest,
callback: AsyncCallback\
): void;|NA|@ohos.account.appAccount.d.ts|
|Deleted|Class name: AccountCapabilityScheduler;
Method or attribute name: executeRequest(request: AccountCapabilityRequest): Promise\;|NA|@ohos.account.appAccount.d.ts|
|Added|NA|Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdForUidSync(uid: number): number;|@ohos.account.osAccount.d.ts|
|Added|NA|Class name: AccountManager;
Method or attribute name: getBundleIdForUidSync(uid: number): number;|@ohos.account.osAccount.d.ts|
|Added|NA|Class name: GetDomainAccountInfoOptions;
Method or attribute name: accountName: string;|@ohos.account.osAccount.d.ts|
|Added|NA|Class name: GetDomainAccountInfoOptions;
Method or attribute name: domain?: string;|@ohos.account.osAccount.d.ts|
|Added|NA|Class name: GetDomainAccountInfoPluginOptions;
Method or attribute name: callerUid: number;|@ohos.account.osAccount.d.ts|
|Added|NA|Class name: DomainAccountManager;
Method or attribute name: static getAccountInfo(options: GetDomainAccountInfoOptions, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts|
|Added|NA|Class name: DomainAccountManager;
Method or attribute name: static getAccountInfo(options: GetDomainAccountInfoOptions): Promise\;|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: UserAuth;
Method or attribute name: auth(
challenge: Uint8Array,
authType: AuthType,
authTrustLevel: AuthTrustLevel,
callback: IUserAuthCallback
): Uint8Array;
Old version information: 201,202,401, 12300001, 12300002, 12300101, 12300105, 12300106, 12300110, 12300111, 12300112|Class name: UserAuth;
Method or attribute name: auth(
challenge: Uint8Array,
authType: AuthType,
authTrustLevel: AuthTrustLevel,
callback: IUserAuthCallback
): Uint8Array;
New version information: 201,202,401, 12300001, 12300002, 12300101, 12300102, 12300105, 12300106, 12300109, 12300110, 12300111, 12300112|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: UserAuth;
Method or attribute name: authUser(
userId: number,
challenge: Uint8Array,
authType: AuthType,
authTrustLevel: AuthTrustLevel,
callback: IUserAuthCallback
): Uint8Array;
Old version information: 201,202,401, 12300001, 12300002, 12300101, 12300105, 12300106, 12300110, 12300111, 12300112|Class name: UserAuth;
Method or attribute name: authUser(
userId: number,
challenge: Uint8Array,
authType: AuthType,
authTrustLevel: AuthTrustLevel,
callback: IUserAuthCallback
): Uint8Array;
New version information: 201,202,401, 12300001, 12300002, 12300101, 12300102, 12300105, 12300106, 12300109, 12300110, 12300111, 12300112|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: DomainAccountManager;
Method or attribute name: static auth(domainAccountInfo: DomainAccountInfo, credential: Uint8Array, callback: IUserAuthCallback): void;
Old version information: 201,202,401, 12300001, 12300002, 12300003,12300013,12300101, 12300109, 12300110, 12300111, 12300112, 12300113,12300114|Class name: DomainAccountManager;
Method or attribute name: static auth(domainAccountInfo: DomainAccountInfo, credential: Uint8Array, callback: IUserAuthCallback): void;
New version information: 201,202,401,801, 12300001, 12300002, 12300003,12300013,12300101, 12300109, 12300110, 12300111, 12300112, 12300113,12300114|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: DomainAccountManager;
Method or attribute name: static authWithPopup(callback: IUserAuthCallback): void;
Old version information: 201,202,401, 12300001, 12300003,12300013,12300101, 12300109, 12300110, 12300111, 12300112, 12300113,12300114|Class name: DomainAccountManager;
Method or attribute name: static authWithPopup(callback: IUserAuthCallback): void;
New version information: 201,202,401,801, 12300001, 12300003,12300013,12300101, 12300109, 12300110, 12300111, 12300112, 12300113,12300114|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: DomainAccountManager;
Method or attribute name: static authWithPopup(localId: number, callback: IUserAuthCallback): void;
Old version information: 201,202,401, 12300001, 12300002, 12300003,12300013,12300101, 12300109, 12300110, 12300111, 12300112, 12300113,12300114|Class name: DomainAccountManager;
Method or attribute name: static authWithPopup(localId: number, callback: IUserAuthCallback): void;
New version information: 201,202,401,801, 12300001, 12300002, 12300003,12300013,12300101, 12300109, 12300110, 12300111, 12300112, 12300113,12300114|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: DomainAccountManager;
Method or attribute name: static hasAccount(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback\): void;
Old version information: 201,202,401, 12300001, 12300002, 12300013|Class name: DomainAccountManager;
Method or attribute name: static hasAccount(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback\): void;
New version information: 201,202,401,801, 12300001, 12300002, 12300013,12300111|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: DomainAccountManager;
Method or attribute name: static hasAccount(domainAccountInfo: DomainAccountInfo): Promise\;
Old version information: 201,202,401, 12300001, 12300002, 12300013|Class name: DomainAccountManager;
Method or attribute name: static hasAccount(domainAccountInfo: DomainAccountInfo): Promise\;
New version information: 201,202,401,801, 12300001, 12300002, 12300013,12300111|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: UserIdentityManager;
Method or attribute name: addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
Old version information: 201,202,401, 12300001, 12300002, 12300101, 12300106|Class name: UserIdentityManager;
Method or attribute name: addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
New version information: 201,202,401, 12300001, 12300002, 12300101, 12300106, 12300109, 12300111, 12300115|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: UserIdentityManager;
Method or attribute name: updateCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
Old version information: 201,202,401, 12300001, 12300002, 12300101, 12300106|Class name: UserIdentityManager;
Method or attribute name: updateCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
New version information: 201,202,401, 12300001, 12300002, 12300101, 12300102, 12300106, 12300109, 12300111|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: UserIdentityManager;
Method or attribute name: getAuthInfo(callback: AsyncCallback\>): void;
Old version information: 201,202,401, 12300001|Class name: UserIdentityManager;
Method or attribute name: getAuthInfo(callback: AsyncCallback\>): void;
New version information: 201,202,401, 12300001, 12300102|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: UserIdentityManager;
Method or attribute name: getAuthInfo(authType: AuthType, callback: AsyncCallback\>): void;
Old version information: 201,202,401, 12300001, 12300002|Class name: UserIdentityManager;
Method or attribute name: getAuthInfo(authType: AuthType, callback: AsyncCallback\>): void;
New version information: 201,202,401, 12300001, 12300002, 12300102|@ohos.account.osAccount.d.ts|
|Error code changed|Class name: UserIdentityManager;
Method or attribute name: getAuthInfo(authType?: AuthType): Promise\>;
Old version information: 201,202,401, 12300001, 12300002|Class name: UserIdentityManager;
Method or attribute name: getAuthInfo(authType?: AuthType): Promise\>;
New version information: 201,202,401, 12300001, 12300002, 12300102|@ohos.account.osAccount.d.ts|
|Permission changed|Class name: AccountManager;
Method or attribute name: getCurrentOsAccount(callback: AsyncCallback\): void;
Old version information: ohos.permission.MANAGE_LOCAL_ACCOUNTS|Class name: AccountManager;
Method or attribute name: getCurrentOsAccount(callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_LOCAL_ACCOUNTS,ohos.permission.GET_LOCAL_ACCOUNTS|@ohos.account.osAccount.d.ts|
|Permission changed|Class name: AccountManager;
Method or attribute name: getCurrentOsAccount(): Promise\;
Old version information: ohos.permission.MANAGE_LOCAL_ACCOUNTS|Class name: AccountManager;
Method or attribute name: getCurrentOsAccount(): Promise\;
New version information: ohos.permission.MANAGE_LOCAL_ACCOUNTS,ohos.permission.GET_LOCAL_ACCOUNTS|@ohos.account.osAccount.d.ts|
|Function changed|Class name: DomainPlugin;
Method or attribute name: getAccountInfo(domain: string, accountName: string, callback: AsyncCallback\): void;|Class name: DomainPlugin;
Method or attribute name: getAccountInfo(options: GetDomainAccountInfoPluginOptions, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts|