# JS API Changes of the Account Subsystem The table below lists the APIs changes of the account subsystem in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1. ## API Changes | Module| Class| Method/Attribute/Enumeration/Constant| Change Type| |---|---|---|---| | ohos.account.appAccount | Authenticator | getRemoteObject(): rpc.RemoteObject; | Added| | ohos.account.appAccount | Authenticator | isAccountRemovable(name: string, callback: AuthenticatorCallback): void; | Added| | ohos.account.appAccount | Authenticator | checkAccountLabels(name: string, labels: Array\, callback: AuthenticatorCallback): void; | Added| | ohos.account.appAccount | Authenticator | setProperties(options: SetPropertiesOptions, callback: AuthenticatorCallback): void; | Added| | ohos.account.appAccount | Authenticator | verifyCredential(name: string, options: VerifyCredentialOptions, callback: AuthenticatorCallback): void; | Added| | ohos.account.appAccount | AuthenticatorCallback | onRequestContinued?: () => void; | Added| | ohos.account.appAccount | Constants | KEY_BOOLEAN_RESULT = "booleanResult" | Added| | ohos.account.appAccount | Constants | KEY_REQUIRED_LABELS = "requiredLabels" | Added| | ohos.account.appAccount | SetPropertiesOptions | parameters?: {[key: string]: Object} | Added| | ohos.account.appAccount | SetPropertiesOptions | properties?: {[key: string]: Object}, | Added| | ohos.account.appAccount | VerifyCredentialOptions | parameters?: {[key:string]: Object} | Added| | ohos.account.appAccount | VerifyCredentialOptions | credential?: string, | Added| | ohos.account.appAccount | VerifyCredentialOptions | credentialType?: string, | Added| | ohos.account.appAccount | SelectAccountsOptions | requiredLabels?: Array\ | Added| | ohos.account.appAccount | SelectAccountsOptions | allowedOwners?: Array\, | Added| | ohos.account.appAccount | SelectAccountsOptions | allowedAccounts?: Array\, | Added| | ohos.account.appAccount | OAuthTokenInfo | account?: AppAccountInfo; | Added| | ohos.account.appAccount | AppAccountManager | setAuthenticatorProperties(owner: string, callback: AuthenticatorCallback): void;
setAuthenticatorProperties(owner: string, options: SetPropertiesOptions, callback: AuthenticatorCallback): void; | Added| | ohos.account.appAccount | AppAccountManager | verifyCredential(name: string, owner: string, callback: AuthenticatorCallback): void;
verifyCredential(name: string, owner: string, options: VerifyCredentialOptions, callback: AuthenticatorCallback): void; | Added| | ohos.account.appAccount | AppAccountManager | selectAccountsByOptions(options: SelectAccountsOptions, callback: AsyncCallback\>);
selectAccountsByOptions(options: SelectAccountsOptions): Promise\>; | Added| | ohos.account.appAccount | AppAccountManager | deleteAccountCredential(name: string, credentialType: string, callback: AsyncCallback\): void;
deleteAccountCredential(name: string, credentialType: string): Promise\; | Added| | ohos.account.appAccount | AppAccountManager | checkAccountLabels(name: string, owner: string, labels: Array\, callback: AsyncCallback\): void;
checkAccountLabels(name: string, owner: string, labels: Array\): Promise\; | Added| | ohos.account.appAccount | AppAccountManager | checkAppAccess(name: string, bundleName: string, callback: AsyncCallback\): void;
checkAppAccess(name: string, bundleName: string): Promise\; | Added| | ohos.account.osAccount | ConstraintSourceTypeInfo | type: ConstraintSourceType; | Added| | ohos.account.osAccount | ConstraintSourceTypeInfo | localId: number; | Added| | ohos.account.osAccount | ConstraintSourceType | CONSTRAINT_TYPE_PROFILE_OWNER = 3 | Added| | ohos.account.osAccount | ConstraintSourceType | CONSTRAINT_TYPE_DEVICE_OWNER = 2 | Added| | ohos.account.osAccount | ConstraintSourceType | CONSTRAINT_TYPE_BASE = 1 | Added| | ohos.account.osAccount | ConstraintSourceType | CONSTRAINT_NOT_EXIST = 0 | Added| | ohos.account.osAccount | AccountManager | queryOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback\>): void;
queryOsAccountConstraintSourceTypes(localId: number, constraint: string): Promise\>; | Added| | ohos.account.osAccount | AccountManager | isMainOsAccount(callback: AsyncCallback\): void;
isMainOsAccount(): Promise\; | Added| | ohos.account.osAccount | AccountManager | getBundleIdFromUid(uid: number, callback: AsyncCallback\): void;
getBundleIdFromUid(uid: number): Promise\; | Added|