harmony 鸿蒙js-apidiff-account

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

Change Type Old Version New Version d.ts File
Deleted Class name: UserIdentityManager;
Method or attribute name: getAuthInfo(callback: AsyncCallback<Array<EnrolledCredInfo>>, authType?: AuthType): void;
NA @ohos.account.osAccount.d.ts
Added NA Class name: AuthTokenInfo;
Method or attribute name: authType: string;
@ohos.account.appAccount.d.ts
Added NA Class name: AuthTokenInfo;
Method or attribute name: token: string;
@ohos.account.appAccount.d.ts
Added NA Class name: AuthCallback;
Method or attribute name: onRequestRedirected: (request: Want) => void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: createAccount(name: string, callback: AsyncCallback<void>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: createAccount(name: string, options: CreateAccountOptions, callback: AsyncCallback<void>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: createAccount(name: string, options?: CreateAccountOptions): Promise<void>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: createAccountImplicitly(owner: string, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: createAccountImplicitly(owner: string, options: CreateAccountImplicitlyOptions, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: removeAccount(name: string, callback: AsyncCallback<void>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: removeAccount(name: string): Promise<void>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setAppAccess(name: string, bundleName: string, isAccessible: boolean, callback: AsyncCallback<void>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setAppAccess(name: string, bundleName: string, isAccessible: boolean): Promise<void>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: checkAppAccess(name: string, bundleName: string, callback: AsyncCallback<boolean>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: checkAppAccess(name: string, bundleName: string): Promise<boolean>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: checkDataSyncEnabled(name: string, callback: AsyncCallback<boolean>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: checkDataSyncEnabled(name: string): Promise<boolean>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setCredential(name: string, credentialType: string, credential: string,
callback: AsyncCallback<void>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setCredential(name: string, credentialType: string, credential: string): Promise<void>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setDataSyncEnabled(name: string, isEnabled: boolean, callback: AsyncCallback<void>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setDataSyncEnabled(name: string, isEnabled: boolean): Promise<void>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setCustomData(name: string, key: string, value: string, callback: AsyncCallback<void>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setCustomData(name: string, key: string, value: string): Promise<void>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAllAccounts(callback: AsyncCallback<Array<AppAccountInfo>>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAllAccounts(): Promise<Array<AppAccountInfo>>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAccountsByOwner(owner: string, callback: AsyncCallback<Array<AppAccountInfo>>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAccountsByOwner(owner: string): Promise<Array<AppAccountInfo>>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getCredential(name: string, credentialType: string, callback: AsyncCallback<string>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getCredential(name: string, credentialType: string): Promise<string>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getCustomData(name: string, key: string, callback: AsyncCallback<string>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getCustomData(name: string, key: string): Promise<string>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getCustomDataSync(name: string, key: string): string;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: on(type: ‘accountChange’, owners: Array<string>, callback: Callback<Array<AppAccountInfo>>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: off(type: ‘accountChange’, callback?: Callback<Array<AppAccountInfo>>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: auth(name: string, owner: string, authType: string, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: auth(name: string, owner: string, authType: string, options: {[key:string]: Object}, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAuthToken(name: string, owner: string, authType: string, callback: AsyncCallback<string>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAuthToken(name: string, owner: string, authType: string): Promise<string>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setAuthToken(name: string, authType: string, token: string, callback: AsyncCallback<void>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setAuthToken(name: string, authType: string, token: string): Promise<void>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: deleteAuthToken(name: string, owner: string, authType: string, token: string, callback: AsyncCallback<void>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: deleteAuthToken(name: string, owner: string, authType: string, token: string): Promise<void>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean, callback: AsyncCallback<void>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean): Promise<void>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: checkAuthTokenVisibility(name: string, authType: string, bundleName: string, callback: AsyncCallback<boolean>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: checkAuthTokenVisibility(name: string, authType: string, bundleName: string): Promise<boolean>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAllAuthTokens(name: string, owner: string, callback: AsyncCallback<Array<AuthTokenInfo>>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAllAuthTokens(name: string, owner: string): Promise<Array<AuthTokenInfo>>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAuthList(name: string, authType: string, callback: AsyncCallback<Array<string>>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAuthList(name: string, authType: string): Promise<Array<string>>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAuthCallback(sessionId: string, callback: AsyncCallback<AuthCallback>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: getAuthCallback(sessionId: string): Promise<AuthCallback>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: queryAuthenticatorInfo(owner: string, callback: AsyncCallback<AuthenticatorInfo>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: queryAuthenticatorInfo(owner: string): Promise<AuthenticatorInfo>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: checkAccountLabels(name: string, owner: string, labels: Array<string>, callback: AsyncCallback<boolean>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: checkAccountLabels(name: string, owner: string, labels: Array<string>): Promise<boolean>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: deleteCredential(name: string, credentialType: string, callback: AsyncCallback<void>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: deleteCredential(name: string, credentialType: string): Promise<void>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: selectAccountsByOptions(options: SelectAccountsOptions, callback: AsyncCallback<Array<AppAccountInfo>>): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: selectAccountsByOptions(options: SelectAccountsOptions): Promise<Array<AppAccountInfo>>;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: verifyCredential(name: string, owner: string, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: verifyCredential(name: string, owner: string, options: VerifyCredentialOptions, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setAuthenticatorProperties(owner: string, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AppAccountManager;
Method or attribute name: setAuthenticatorProperties(owner: string, options: SetPropertiesOptions, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: AuthTokenInfo;
Method or attribute name: account?: AppAccountInfo;
@ohos.account.appAccount.d.ts
Added NA Class name: AuthResult;
Method or attribute name: account?: AppAccountInfo;
@ohos.account.appAccount.d.ts
Added NA Class name: AuthResult;
Method or attribute name: tokenInfo?: AuthTokenInfo;
@ohos.account.appAccount.d.ts
Added NA Class name: CreateAccountOptions;
Method or attribute name: customData?: {[key: string]: string};
@ohos.account.appAccount.d.ts
Added NA Class name: CreateAccountImplicitlyOptions;
Method or attribute name: requiredLabels?: Array<string>;
@ohos.account.appAccount.d.ts
Added NA Class name: SelectAccountsOptions;
Method or attribute name: requiredLabels?: Array<string>;
@ohos.account.appAccount.d.ts
Added NA Class name: CreateAccountImplicitlyOptions;
Method or attribute name: authType?: string;
@ohos.account.appAccount.d.ts
Added NA Class name: CreateAccountImplicitlyOptions;
Method or attribute name: parameters?: {[key:string]: Object};
@ohos.account.appAccount.d.ts
Added NA Class name: VerifyCredentialOptions;
Method or attribute name: parameters?: {[key:string]: Object};
@ohos.account.appAccount.d.ts
Added NA Class name: SetPropertiesOptions;
Method or attribute name: parameters?: {[key: string]: Object};
@ohos.account.appAccount.d.ts
Added NA Class name: SelectAccountsOptions;
Method or attribute name: allowedAccounts?: Array<AppAccountInfo>;
@ohos.account.appAccount.d.ts
Added NA Class name: SelectAccountsOptions;
Method or attribute name: allowedOwners?: Array<string>;
@ohos.account.appAccount.d.ts
Added NA Class name: VerifyCredentialOptions;
Method or attribute name: credentialType?: string;
@ohos.account.appAccount.d.ts
Added NA Class name: VerifyCredentialOptions;
Method or attribute name: credential?: string;
@ohos.account.appAccount.d.ts
Added NA Class name: SetPropertiesOptions;
Method or attribute name: properties?: {[key: string]: Object};
@ohos.account.appAccount.d.ts
Added NA Class name: Constants;
Method or attribute name: ACTION_CREATE_ACCOUNT_IMPLICITLY = “createAccountImplicitly”
@ohos.account.appAccount.d.ts
Added NA Class name: Constants;
Method or attribute name: ACTION_AUTH = “auth”
@ohos.account.appAccount.d.ts
Added NA Class name: Constants;
Method or attribute name: ACTION_VERIFY_CREDENTIAL = “verifyCredential”
@ohos.account.appAccount.d.ts
Added NA Class name: Constants;
Method or attribute name: ACTION_SET_AUTHENTICATOR_PROPERTIES = “setAuthenticatorProperties”
@ohos.account.appAccount.d.ts
Added NA Class name: Constants;
Method or attribute name: KEY_REQUIRED_LABELS = “requiredLabels”
@ohos.account.appAccount.d.ts
Added NA Class name: Constants;
Method or attribute name: KEY_BOOLEAN_RESULT = “booleanResult”
@ohos.account.appAccount.d.ts
Added NA Class name: AuthCallback;
Method or attribute name: onResult: (code: number, result?: AuthResult) => void;
@ohos.account.appAccount.d.ts
Added NA Class name: AuthCallback;
Method or attribute name: onRequestContinued?: () => void;
@ohos.account.appAccount.d.ts
Added NA Class name: Authenticator;
Method or attribute name: createAccountImplicitly(options: CreateAccountImplicitlyOptions, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: Authenticator;
Method or attribute name: auth(name: string, authType: string, options: {[key:string]: Object}, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: Authenticator;
Method or attribute name: verifyCredential(name: string, options: VerifyCredentialOptions, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: Authenticator;
Method or attribute name: setProperties(options: SetPropertiesOptions, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: Authenticator;
Method or attribute name: checkAccountLabels(name: string, labels: Array<string>, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: Authenticator;
Method or attribute name: checkAccountRemovable(name: string, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
Added NA Class name: Authenticator;
Method or attribute name: getRemoteObject(): rpc.RemoteObject;
@ohos.account.appAccount.d.ts
Added NA Class name: DistributedAccountAbility;
Method or attribute name: getOsAccountDistributedInfo(callback: AsyncCallback<DistributedInfo>): void;
@ohos.account.distributedAccount.d.ts
Added NA Class name: DistributedAccountAbility;
Method or attribute name: getOsAccountDistributedInfo(): Promise<DistributedInfo>;
@ohos.account.distributedAccount.d.ts
Added NA Class name: DistributedAccountAbility;
Method or attribute name: setOsAccountDistributedInfo(accountInfo: DistributedInfo, callback: AsyncCallback<void>): void;
@ohos.account.distributedAccount.d.ts
Added NA Class name: DistributedAccountAbility;
Method or attribute name: setOsAccountDistributedInfo(accountInfo: DistributedInfo): Promise<void>;
@ohos.account.distributedAccount.d.ts
Added NA Class name: DistributedInfo;
Method or attribute name: nickname?: string;
@ohos.account.distributedAccount.d.ts
Added NA Class name: DistributedInfo;
Method or attribute name: avatar?: string;
@ohos.account.distributedAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkMultiOsAccountEnabled(callback: AsyncCallback<boolean>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkMultiOsAccountEnabled(): Promise<boolean>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkOsAccountActivated(localId: number, callback: AsyncCallback<boolean>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkOsAccountActivated(localId: number): Promise<boolean>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkOsAccountConstraintEnabled(localId: number, constraint: string, callback: AsyncCallback<boolean>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkOsAccountConstraintEnabled(localId: number, constraint: string): Promise<boolean>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkOsAccountTestable(callback: AsyncCallback<boolean>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkOsAccountTestable(): Promise<boolean>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkOsAccountVerified(callback: AsyncCallback<boolean>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkOsAccountVerified(): Promise<boolean>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkOsAccountVerified(localId: number, callback: AsyncCallback<boolean>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: checkOsAccountVerified(localId: number): Promise<boolean>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountCount(callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountCount(): Promise<number>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountLocalId(callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountLocalId(): Promise<number>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdForUid(uid: number, callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdForUid(uid: number): Promise<number>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdForDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdForDomain(domainInfo: DomainAccountInfo): Promise<number>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountConstraints(localId: number, callback: AsyncCallback<Array<string>>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountConstraints(localId: number): Promise<Array<string>>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getActivatedOsAccountLocalIds(callback: AsyncCallback<Array<number>>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getActivatedOsAccountLocalIds(): Promise<Array<number>>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getCurrentOsAccount(callback: AsyncCallback<OsAccountInfo>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getCurrentOsAccount(): Promise<OsAccountInfo>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountType(callback: AsyncCallback<OsAccountType>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountType(): Promise<OsAccountType>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: queryDistributedVirtualDeviceId(callback: AsyncCallback<string>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: queryDistributedVirtualDeviceId(): Promise<string>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdForSerialNumber(serialNumber: number, callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdForSerialNumber(serialNumber: number): Promise<number>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getSerialNumberForOsAccountLocalId(localId: number, callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getSerialNumberForOsAccountLocalId(localId: number): Promise<number>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getBundleIdForUid(uid: number, callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getBundleIdForUid(uid: number): Promise<number>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: isMainOsAccount(callback: AsyncCallback<boolean>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: isMainOsAccount(): Promise<boolean>;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback<Array<ConstraintSourceTypeInfo>>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AccountManager;
Method or attribute name: getOsAccountConstraintSourceTypes(localId: number, constraint: string): Promise<Array<ConstraintSourceTypeInfo>>;
@ohos.account.osAccount.d.ts
Added NA Class name: InputerManager;
Method or attribute name: static registerInputer(authType: AuthType, inputer: IInputer): void;
@ohos.account.osAccount.d.ts
Added NA Class name: InputerManager;
Method or attribute name: static unregisterInputer(authType: AuthType): void;
@ohos.account.osAccount.d.ts
Added NA Class name: DomainPlugin;
Method or attribute name: auth(domainAccountInfo: DomainAccountInfo, credential: Uint8Array, callback: IUserAuthCallback): void;
@ohos.account.osAccount.d.ts
Added NA Class name: DomainAccountManager;
Method or attribute name: static registerPlugin(plugin: DomainPlugin): void;
@ohos.account.osAccount.d.ts
Added NA Class name: DomainAccountManager;
Method or attribute name: static unregisterPlugin(): void;
@ohos.account.osAccount.d.ts
Added NA Class name: UserIdentityManager;
Method or attribute name: getAuthInfo(callback: AsyncCallback<Array<EnrolledCredInfo>>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: UserIdentityManager;
Method or attribute name: getAuthInfo(authType: AuthType, callback: AsyncCallback<Array<EnrolledCredInfo>>): void;
@ohos.account.osAccount.d.ts
Added NA Class name: AuthType;
Method or attribute name: DOMAIN = 1024
@ohos.account.osAccount.d.ts
Added NA Class name: AuthSubType;
Method or attribute name: DOMAIN_MIXED = 10240001
@ohos.account.osAccount.d.ts
Added NA Class name: ConstraintSourceType;
Method or attribute name: CONSTRAINT_NOT_EXIST = 0
@ohos.account.osAccount.d.ts
Added NA Class name: ConstraintSourceType;
Method or attribute name: CONSTRAINT_TYPE_BASE = 1
@ohos.account.osAccount.d.ts
Added NA Class name: ConstraintSourceType;
Method or attribute name: CONSTRAINT_TYPE_DEVICE_OWNER = 2
@ohos.account.osAccount.d.ts
Added NA Class name: ConstraintSourceType;
Method or attribute name: CONSTRAINT_TYPE_PROFILE_OWNER = 3
@ohos.account.osAccount.d.ts
Added NA Class name: ConstraintSourceTypeInfo;
Method or attribute name: localId: number;
@ohos.account.osAccount.d.ts
Added NA Class name: ConstraintSourceTypeInfo;
Method or attribute name: type: ConstraintSourceType;
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: addAccount(name: string, callback: AsyncCallback<void>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: addAccount(name: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#createAccount
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: addAccountImplicitly(owner: string, authType: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: addAccountImplicitly(owner: string, authType: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void;
New version: 9
Substitute API: appAccount.AppAccountManager#createAccountImplicitly
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: deleteAccount(name: string, callback: AsyncCallback<void>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: deleteAccount(name: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#removeAccount
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: disableAppAccess(name: string, bundleName: string, callback: AsyncCallback<void>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: disableAppAccess(name: string, bundleName: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#setAppAccess
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: enableAppAccess(name: string, bundleName: string, callback: AsyncCallback<void>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: enableAppAccess(name: string, bundleName: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#setAppAccess
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: checkAppAccountSyncEnable(name: string, callback: AsyncCallback<boolean>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: checkAppAccountSyncEnable(name: string, callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#checkDataSyncEnabled
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: setAccountCredential(name: string, credentialType: string, credential: string,
callback: AsyncCallback<void>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: setAccountCredential(name: string, credentialType: string, credential: string,
callback: AsyncCallback<void>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#setCredential
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: setAccountExtraInfo(name: string, extraInfo: string, callback: AsyncCallback<void>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: setAccountExtraInfo(name: string, extraInfo: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#setCustomData
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: setAppAccountSyncEnable(name: string, isEnable: boolean, callback: AsyncCallback<void>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: setAppAccountSyncEnable(name: string, isEnable: boolean, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#setDataSyncEnabled
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: setAssociatedData(name: string, key: string, value: string, callback: AsyncCallback<void>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: setAssociatedData(name: string, key: string, value: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#setCustomData
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: getAllAccessibleAccounts(callback: AsyncCallback<Array<AppAccountInfo>>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: getAllAccessibleAccounts(callback: AsyncCallback<Array<AppAccountInfo>>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#getAllAccounts
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: getAllAccounts(owner: string, callback: AsyncCallback<Array<AppAccountInfo>>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: getAllAccounts(owner: string, callback: AsyncCallback<Array<AppAccountInfo>>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#getAccountsByOwner
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: getAccountCredential(name: string, credentialType: string, callback: AsyncCallback<string>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: getAccountCredential(name: string, credentialType: string, callback: AsyncCallback<string>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#getCredential
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: getAccountExtraInfo(name: string, callback: AsyncCallback<string>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: getAccountExtraInfo(name: string, callback: AsyncCallback<string>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#getCustomData
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: getAssociatedData(name: string, key: string, callback: AsyncCallback<string>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: getAssociatedData(name: string, key: string, callback: AsyncCallback<string>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#getCustomData
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: on(type: ‘change’, owners: Array<string>, callback: Callback<Array<AppAccountInfo>>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: on(type: ‘change’, owners: Array<string>, callback: Callback<Array<AppAccountInfo>>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#on
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: off(type: ‘change’, callback?: Callback<Array<AppAccountInfo>>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: off(type: ‘change’, callback?: Callback<Array<AppAccountInfo>>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#off
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: authenticate(name: string, owner: string, authType: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: authenticate(name: string, owner: string, authType: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void;
New version: 9
Substitute API: appAccount.AppAccountManager#auth
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: getOAuthToken(name: string, owner: string, authType: string, callback: AsyncCallback<string>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: getOAuthToken(name: string, owner: string, authType: string, callback: AsyncCallback<string>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#getAuthToken
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: setOAuthToken(name: string, authType: string, token: string, callback: AsyncCallback<void>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: setOAuthToken(name: string, authType: string, token: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#setAuthToken
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: deleteOAuthToken(name: string, owner: string, authType: string, token: string, callback: AsyncCallback<void>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: deleteOAuthToken(name: string, owner: string, authType: string, token: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#deleteAuthToken
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: setOAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean, callback: AsyncCallback<void>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: setOAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#setAuthTokenVisibility
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: checkOAuthTokenVisibility(name: string, authType: string, bundleName: string, callback: AsyncCallback<boolean>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: checkOAuthTokenVisibility(name: string, authType: string, bundleName: string, callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#checkAuthTokenVisibility
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: getAllOAuthTokens(name: string, owner: string, callback: AsyncCallback<Array<OAuthTokenInfo>>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: getAllOAuthTokens(name: string, owner: string, callback: AsyncCallback<Array<OAuthTokenInfo>>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#getAllAuthTokens
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: getOAuthList(name: string, authType: string, callback: AsyncCallback<Array<string>>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: getOAuthList(name: string, authType: string, callback: AsyncCallback<Array<string>>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#getAuthList
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: getAuthenticatorCallback(sessionId: string, callback: AsyncCallback<AuthenticatorCallback>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: getAuthenticatorCallback(sessionId: string, callback: AsyncCallback<AuthenticatorCallback>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#getAuthCallback
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AppAccountManager;
Method or attribute name: getAuthenticatorInfo(owner: string, callback: AsyncCallback<AuthenticatorInfo>): void;
Old version:
Class name: AppAccountManager;
Method or attribute name: getAuthenticatorInfo(owner: string, callback: AsyncCallback<AuthenticatorInfo>): void;
New version: 9
Substitute API: appAccount.AppAccountManager#queryAuthenticatorInfo
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: OAuthTokenInfo;
Method or attribute name: interface OAuthTokenInfo
Old version:
Class name: OAuthTokenInfo;
Method or attribute name: interface OAuthTokenInfo
New version: 9
Substitute API: appAccount.AuthTokenInfo
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: OAuthTokenInfo;
Method or attribute name: authType: string;
Old version:
Class name: OAuthTokenInfo;
Method or attribute name: authType: string;
New version: 9
Substitute API: appAccount.AuthTokenInfo
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: OAuthTokenInfo;
Method or attribute name: token: string;
Old version:
Class name: OAuthTokenInfo;
Method or attribute name: token: string;
New version: 9
Substitute API: appAccount.AuthTokenInfo
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: Constants;
Method or attribute name: ACTION_ADD_ACCOUNT_IMPLICITLY = “addAccountImplicitly”
Old version:
Class name: Constants;
Method or attribute name: ACTION_ADD_ACCOUNT_IMPLICITLY = “addAccountImplicitly”
New version: 9
Substitute API: appAccount.Constants#ACTION_CREATE_ACCOUNT_IMPLICITLY
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: Constants;
Method or attribute name: ACTION_AUTHENTICATE = “authenticate”
Old version:
Class name: Constants;
Method or attribute name: ACTION_AUTHENTICATE = “authenticate”
New version: 9
Substitute API: appAccount.Constants#ACTION_AUTH
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: enum ResultCode
Old version:
Class name: ResultCode;
Method or attribute name: enum ResultCode
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: SUCCESS = 0
Old version:
Class name: ResultCode;
Method or attribute name: SUCCESS = 0
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_ACCOUNT_NOT_EXIST = 10001
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_ACCOUNT_NOT_EXIST = 10001
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_APP_ACCOUNT_SERVICE_EXCEPTION = 10002
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_APP_ACCOUNT_SERVICE_EXCEPTION = 10002
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_INVALID_PASSWORD = 10003
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_INVALID_PASSWORD = 10003
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_INVALID_REQUEST = 10004
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_INVALID_REQUEST = 10004
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_INVALID_RESPONSE = 10005
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_INVALID_RESPONSE = 10005
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_NETWORK_EXCEPTION = 10006
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_NETWORK_EXCEPTION = 10006
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_AUTHENTICATOR_NOT_EXIST = 10007
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_AUTHENTICATOR_NOT_EXIST = 10007
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_CANCELED = 10008
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_CANCELED = 10008
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_LIST_TOO_LARGE = 10009
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_LIST_TOO_LARGE = 10009
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_SERVICE_BUSY = 10010
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_SERVICE_BUSY = 10010
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_SERVICE_EXCEPTION = 10011
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_SERVICE_EXCEPTION = 10011
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_SESSION_NOT_EXIST = 10012
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_SESSION_NOT_EXIST = 10012
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_TIMEOUT = 10013
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_TIMEOUT = 10013
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_TOKEN_NOT_EXIST = 10014
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_TOKEN_NOT_EXIST = 10014
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_TOKEN_TOO_MANY = 10015
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_TOKEN_TOO_MANY = 10015
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_UNSUPPORT_ACTION = 10016
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_UNSUPPORT_ACTION = 10016
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_UNSUPPORT_AUTH_TYPE = 10017
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_OAUTH_UNSUPPORT_AUTH_TYPE = 10017
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: ERROR_PERMISSION_DENIED = 10018
Old version:
Class name: ResultCode;
Method or attribute name: ERROR_PERMISSION_DENIED = 10018
New version: 9
Substitute API:
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AuthenticatorCallback;
Method or attribute name: interface AuthenticatorCallback
Old version:
Class name: AuthenticatorCallback;
Method or attribute name: interface AuthenticatorCallback
New version: 9
Substitute API: AppAccount.AuthCallback
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AuthenticatorCallback;
Method or attribute name: onResult: (code: number, result: {[key: string]: any}) => void;
Old version:
Class name: AuthenticatorCallback;
Method or attribute name: onResult: (code: number, result: {[key: string]: any}) => void;
New version: 9
Substitute API: AppAccount.AuthCallback
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: AuthenticatorCallback;
Method or attribute name: onRequestRedirected: (request: Want) => void;
Old version:
Class name: AuthenticatorCallback;
Method or attribute name: onRequestRedirected: (request: Want) => void;
New version: 9
Substitute API: AppAccount.AuthCallback
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: Authenticator;
Method or attribute name: addAccountImplicitly(authType: string, callerBundleName: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void;
Old version:
Class name: Authenticator;
Method or attribute name: addAccountImplicitly(authType: string, callerBundleName: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void;
New version: 9
Substitute API: appAccount.Authenticator#createAccountImplicitly
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: Authenticator;
Method or attribute name: authenticate(name: string, authType: string, callerBundleName: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void;
Old version:
Class name: Authenticator;
Method or attribute name: authenticate(name: string, authType: string, callerBundleName: string, options: {[key: string]: any}, callback: AuthenticatorCallback): void;
New version: 9
Substitute API: appAccount.Authenticator#auth
@ohos.account.appAccount.d.ts
Deprecated version changed Class name: DistributedAccountAbility;
Method or attribute name: queryOsAccountDistributedInfo(callback: AsyncCallback<DistributedInfo>): void;
Old version:
Class name: DistributedAccountAbility;
Method or attribute name: queryOsAccountDistributedInfo(callback: AsyncCallback<DistributedInfo>): void;
New version: 9
Substitute API: distributedAccount.DistributedAccountAbility#getOsAccountDistributedInfo
@ohos.account.distributedAccount.d.ts
Deprecated version changed Class name: DistributedAccountAbility;
Method or attribute name: updateOsAccountDistributedInfo(accountInfo: DistributedInfo, callback: AsyncCallback<void>): void;
Old version:
Class name: DistributedAccountAbility;
Method or attribute name: updateOsAccountDistributedInfo(accountInfo: DistributedInfo, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: distributedAccount.DistributedAccountAbility#setOsAccountDistributedInfo
@ohos.account.distributedAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: isMultiOsAccountEnable(callback: AsyncCallback<boolean>): void;
Old version:
Class name: AccountManager;
Method or attribute name: isMultiOsAccountEnable(callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: osAccount.AccountManager#checkMultiOsAccountEnabled
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: isOsAccountActived(localId: number, callback: AsyncCallback<boolean>): void;
Old version:
Class name: AccountManager;
Method or attribute name: isOsAccountActived(localId: number, callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: osAccount.AccountManager#checkOsAccountActivated
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: isOsAccountConstraintEnable(localId: number, constraint: string, callback: AsyncCallback<boolean>): void;
Old version:
Class name: AccountManager;
Method or attribute name: isOsAccountConstraintEnable(localId: number, constraint: string, callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: osAccount.AccountManager#checkConstraintEnabled
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: isTestOsAccount(callback: AsyncCallback<boolean>): void;
Old version:
Class name: AccountManager;
Method or attribute name: isTestOsAccount(callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: osAccount.AccountManager#checkOsAccountTestable
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: isOsAccountVerified(callback: AsyncCallback<boolean>): void;
Old version:
Class name: AccountManager;
Method or attribute name: isOsAccountVerified(callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: osAccount.AccountManager#checkOsAccountVerified
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: getCreatedOsAccountsCount(callback: AsyncCallback<number>): void;
Old version:
Class name: AccountManager;
Method or attribute name: getCreatedOsAccountsCount(callback: AsyncCallback<number>): void;
New version: 9
Substitute API: osAccount.AccountManager#getOsAccountCount
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdFromProcess(callback: AsyncCallback<number>): void;
Old version:
Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdFromProcess(callback: AsyncCallback<number>): void;
New version: 9
Substitute API: osAccount.AccountManager#getOsAccountLocalId
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdFromUid(uid: number, callback: AsyncCallback<number>): void;
Old version:
Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdFromUid(uid: number, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: osAccount.AccountManager#getOsAccountLocalIdForUid
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback<number>): void;
Old version:
Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: osAccount.AccountManager#getOsAccountLocalIdForDomain
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: getOsAccountAllConstraints(localId: number, callback: AsyncCallback<Array<string>>): void;
Old version:
Class name: AccountManager;
Method or attribute name: getOsAccountAllConstraints(localId: number, callback: AsyncCallback<Array<string>>): void;
New version: 9
Substitute API: osAccount.AccountManager#getOsAccountConstraints
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: queryActivatedOsAccountIds(callback: AsyncCallback<Array<number>>): void;
Old version:
Class name: AccountManager;
Method or attribute name: queryActivatedOsAccountIds(callback: AsyncCallback<Array<number>>): void;
New version: 9
Substitute API: osAccount.AccountManager#getActivatedOsAccountLocalIds
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: queryCurrentOsAccount(callback: AsyncCallback<OsAccountInfo>): void;
Old version:
Class name: AccountManager;
Method or attribute name: queryCurrentOsAccount(callback: AsyncCallback<OsAccountInfo>): void;
New version: 9
Substitute API: osAccount.AccountManager#getCurrentOsAccount
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: getOsAccountTypeFromProcess(callback: AsyncCallback<OsAccountType>): void;
Old version:
Class name: AccountManager;
Method or attribute name: getOsAccountTypeFromProcess(callback: AsyncCallback<OsAccountType>): void;
New version: 9
Substitute API: osAccount.AccountManager#getOsAccountType
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: getDistributedVirtualDeviceId(callback: AsyncCallback<string>): void;
Old version:
Class name: AccountManager;
Method or attribute name: getDistributedVirtualDeviceId(callback: AsyncCallback<string>): void;
New version: 9
Substitute API: osAccount.AccountManager#queryDistributedVirtualDeviceId
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdBySerialNumber(serialNumber: number, callback: AsyncCallback<number>): void;
Old version:
Class name: AccountManager;
Method or attribute name: getOsAccountLocalIdBySerialNumber(serialNumber: number, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: osAccount.AccountManager#getOsAccountLocalIdForSerialNumber
@ohos.account.osAccount.d.ts
Deprecated version changed Class name: AccountManager;
Method or attribute name: getSerialNumberByOsAccountLocalId(localId: number, callback: AsyncCallback<number>): void;
Old version:
Class name: AccountManager;
Method or attribute name: getSerialNumberByOsAccountLocalId(localId: number, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: osAccount.AccountManager#getSerialNumberForOsAccountLocalId
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: activateOsAccount(localId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: AccountManager;
Method or attribute name: activateOsAccount(localId: number, callback: AsyncCallback<void>): void;
New version: 201,401,12300001,12300002,12300003,12300008,12300009
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: removeOsAccount(localId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: AccountManager;
Method or attribute name: removeOsAccount(localId: number, callback: AsyncCallback<void>): void;
New version: 201,401,12300001,12300002,12300003,12300008
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: setOsAccountConstraints(localId: number, constraints: Array<string>, enable: boolean,
callback: AsyncCallback<void>): void;
Old version:
Class name: AccountManager;
Method or attribute name: setOsAccountConstraints(localId: number, constraints: Array<string>, enable: boolean,
callback: AsyncCallback<void>): void;
New version: 201,401,12300001,12300002,12300003,12300008
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: setOsAccountName(localId: number, localName: string, callback: AsyncCallback<void>): void;
Old version:
Class name: AccountManager;
Method or attribute name: setOsAccountName(localId: number, localName: string, callback: AsyncCallback<void>): void;
New version: 201,401,12300001,12300002,12300003,12300008
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: queryMaxOsAccountNumber(callback: AsyncCallback<number>): void;
Old version:
Class name: AccountManager;
Method or attribute name: queryMaxOsAccountNumber(callback: AsyncCallback<number>): void;
New version: 401,12300001
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: queryAllCreatedOsAccounts(callback: AsyncCallback<Array<OsAccountInfo>>): void;
Old version:
Class name: AccountManager;
Method or attribute name: queryAllCreatedOsAccounts(callback: AsyncCallback<Array<OsAccountInfo>>): void;
New version: 201,401,12300001
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: createOsAccount(localName: string, type: OsAccountType, callback: AsyncCallback<OsAccountInfo>): void;
Old version:
Class name: AccountManager;
Method or attribute name: createOsAccount(localName: string, type: OsAccountType, callback: AsyncCallback<OsAccountInfo>): void;
New version: 201,401,12300001,12300002,12300005,12300006,12300007
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: createOsAccountForDomain(type: OsAccountType, domainInfo: DomainAccountInfo, callback: AsyncCallback<OsAccountInfo>): void;
Old version:
Class name: AccountManager;
Method or attribute name: createOsAccountForDomain(type: OsAccountType, domainInfo: DomainAccountInfo, callback: AsyncCallback<OsAccountInfo>): void;
New version: 201,401,12300001,12300002,12300005,12300006,12300007
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: queryOsAccountById(localId: number, callback: AsyncCallback<OsAccountInfo>): void;
Old version:
Class name: AccountManager;
Method or attribute name: queryOsAccountById(localId: number, callback: AsyncCallback<OsAccountInfo>): void;
New version: 201,401,12300001,12300002,12300003
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: getOsAccountProfilePhoto(localId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: AccountManager;
Method or attribute name: getOsAccountProfilePhoto(localId: number, callback: AsyncCallback<string>): void;
New version: 201,401,12300001,12300002,12300003
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: setOsAccountProfilePhoto(localId: number, photo: string, callback: AsyncCallback<void>): void;
Old version:
Class name: AccountManager;
Method or attribute name: setOsAccountProfilePhoto(localId: number, photo: string, callback: AsyncCallback<void>): void;
New version: 201,401,12300001,12300002,12300003,12300008
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: on(type: ‘activate’ |‘activating’, name: string, callback: Callback<number>): void;
Old version:
Class name: AccountManager;
Method or attribute name: on(type: ‘activate’ |‘activating’, name: string, callback: Callback<number>): void;
New version: 201,401,12300001,12300002,12300011
@ohos.account.osAccount.d.ts
Error code added Class name: AccountManager;
Method or attribute name: off(type: ‘activate’ |‘activating’, name: string, callback?: Callback<number>): void;
Old version:
Class name: AccountManager;
Method or attribute name: off(type: ‘activate’ |‘activating’, name: string, callback?: Callback<number>): void;
New version: 201,401,12300001,12300002,12300012
@ohos.account.osAccount.d.ts
Error code added Class name: UserAuth;
Method or attribute name: getAvailableStatus(authType: AuthType, authTrustLevel: AuthTrustLevel): number;
Old version:
Class name: UserAuth;
Method or attribute name: getAvailableStatus(authType: AuthType, authTrustLevel: AuthTrustLevel): number;
New version: 201,401,12300001,12300002
@ohos.account.osAccount.d.ts
Error code added Class name: UserAuth;
Method or attribute name: getProperty(request: GetPropertyRequest, callback: AsyncCallback<ExecutorProperty>): void;
Old version:
Class name: UserAuth;
Method or attribute name: getProperty(request: GetPropertyRequest, callback: AsyncCallback<ExecutorProperty>): void;
New version: 201,401,12300001,12300002
@ohos.account.osAccount.d.ts
Error code added Class name: UserAuth;
Method or attribute name: setProperty(request: SetPropertyRequest, callback: AsyncCallback<void>): void;
Old version:
Class name: UserAuth;
Method or attribute name: setProperty(request: SetPropertyRequest, callback: AsyncCallback<void>): void;
New version: 201,401,12300001,12300002
@ohos.account.osAccount.d.ts
Error code added Class name: UserAuth;
Method or attribute name: auth(challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array;
Old version:
Class name: UserAuth;
Method or attribute name: auth(challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array;
New version: 201,401,12300001,12300002,12300101,12300105,12300106,12300110,12300111,12300112
@ohos.account.osAccount.d.ts
Error code added Class name: UserAuth;
Method or attribute name: authUser(userId: number, challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array;
Old version:
Class name: UserAuth;
Method or attribute name: authUser(userId: number, challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array;
New version: 201,401,12300001,12300002,12300101,12300105,12300106,12300110,12300111,12300112
@ohos.account.osAccount.d.ts
Error code added Class name: UserAuth;
Method or attribute name: cancelAuth(contextID: Uint8Array): void;
Old version:
Class name: UserAuth;
Method or attribute name: cancelAuth(contextID: Uint8Array): void;
New version: 201,401,12300001,12300002
@ohos.account.osAccount.d.ts
Error code added Class name: PINAuth;
Method or attribute name: registerInputer(inputer: IInputer): void;
Old version:
Class name: PINAuth;
Method or attribute name: registerInputer(inputer: IInputer): void;
New version: 201,401,12300001,12300002,12300103
@ohos.account.osAccount.d.ts
Error code added Class name: PINAuth;
Method or attribute name: unregisterInputer(): void;
Old version:
Class name: PINAuth;
Method or attribute name: unregisterInputer(): void;
New version: 201
@ohos.account.osAccount.d.ts
Error code added Class name: UserIdentityManager;
Method or attribute name: openSession(callback: AsyncCallback<Uint8Array>): void;
Old version:
Class name: UserIdentityManager;
Method or attribute name: openSession(callback: AsyncCallback<Uint8Array>): void;
New version: 201,401,12300001
@ohos.account.osAccount.d.ts
Error code added Class name: UserIdentityManager;
Method or attribute name: addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
Old version:
Class name: UserIdentityManager;
Method or attribute name: addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
New version: 201,401,12300001,12300002,12300101,12300106
@ohos.account.osAccount.d.ts
Error code added Class name: UserIdentityManager;
Method or attribute name: updateCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
Old version:
Class name: UserIdentityManager;
Method or attribute name: updateCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
New version: 201,401,12300001,12300002,12300101,12300106
@ohos.account.osAccount.d.ts
Error code added Class name: UserIdentityManager;
Method or attribute name: closeSession(): void;
Old version:
Class name: UserIdentityManager;
Method or attribute name: closeSession(): void;
New version: 201
@ohos.account.osAccount.d.ts
Error code added Class name: UserIdentityManager;
Method or attribute name: cancel(challenge: Uint8Array): void;
Old version:
Class name: UserIdentityManager;
Method or attribute name: cancel(challenge: Uint8Array): void;
New version: 201,401,12300001,12300002
@ohos.account.osAccount.d.ts
Error code added Class name: UserIdentityManager;
Method or attribute name: delUser(token: Uint8Array, callback: IIdmCallback): void;
Old version:
Class name: UserIdentityManager;
Method or attribute name: delUser(token: Uint8Array, callback: IIdmCallback): void;
New version: 201,401,12300001,12300101
@ohos.account.osAccount.d.ts
Error code added Class name: UserIdentityManager;
Method or attribute name: delCred(credentialId: Uint8Array, token: Uint8Array, callback: IIdmCallback): void;
Old version:
Class name: UserIdentityManager;
Method or attribute name: delCred(credentialId: Uint8Array, token: Uint8Array, callback: IIdmCallback): void;
New version: 201,401,12300001,12300002,12300101,12300102
@ohos.account.osAccount.d.ts
Error code added Class name: IInputData;
Method or attribute name: onSetData: (authSubType: AuthSubType, data: Uint8Array) => void;
Old version:
Class name: IInputData;
Method or attribute name: onSetData: (authSubType: AuthSubType, data: Uint8Array) => void;
New version: 401,12300002
@ohos.account.osAccount.d.ts
Permission changed Class name: AccountManager;
Method or attribute name: isOsAccountVerified(callback: AsyncCallback<boolean>): void;
Old version:
Class name: AccountManager;
Method or attribute name: isOsAccountVerified(callback: AsyncCallback<boolean>): void;
New version: ohos.permission.MANAGE_LOCAL_ACCOUNTS,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS
@ohos.account.osAccount.d.ts
Permission changed Class name: AccountManager;
Method or attribute name: isOsAccountVerified(localId: number, callback: AsyncCallback<boolean>): void;
Old version: ohos.permission.MANAGE_LOCAL_ACCOUNTS,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS
Class name: AccountManager;
Method or attribute name: isOsAccountVerified(localId: number, callback: AsyncCallback<boolean>): void;
New version:
@ohos.account.osAccount.d.ts
Function changed Class name: UserAuth;
Method or attribute name: setProperty(request: SetPropertyRequest, callback: AsyncCallback<number>): void;
Class name: UserAuth;
Method or attribute name: setProperty(request: SetPropertyRequest, callback: AsyncCallback<void>): void;
@ohos.account.osAccount.d.ts
Function changed Class name: UserAuth;
Method or attribute name: setProperty(request: SetPropertyRequest): Promise<number>;
Class name: UserAuth;
Method or attribute name: setProperty(request: SetPropertyRequest): Promise<void>;
@ohos.account.osAccount.d.ts
Function changed Class name: UserAuth;
Method or attribute name: cancelAuth(contextID: Uint8Array): number;
Class name: UserAuth;
Method or attribute name: cancelAuth(contextID: Uint8Array): void;
@ohos.account.osAccount.d.ts
Function changed Class name: PINAuth;
Method or attribute name: registerInputer(inputer: IInputer): boolean;
Class name: PINAuth;
Method or attribute name: registerInputer(inputer: IInputer): void;
@ohos.account.osAccount.d.ts
Function changed Class name: UserIdentityManager;
Method or attribute name: cancel(challenge: Uint8Array): number;
Class name: UserIdentityManager;
Method or attribute name: cancel(challenge: Uint8Array): void;
@ohos.account.osAccount.d.ts
Function changed Class name: IInputData;
Method or attribute name: onSetData: (pinSubType: AuthSubType, data: Uint8Array) => void;
Class name: IInputData;
Method or attribute name: onSetData: (authSubType: AuthSubType, data: Uint8Array) => void;
@ohos.account.osAccount.d.ts
Function changed Class name: IInputer;
Method or attribute name: onGetData: (callback: IInputData) => void;
Class name: IInputer;
Method or attribute name: onGetData: (authSubType: AuthSubType, callback: IInputData) => void;
@ohos.account.osAccount.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-customization

0  赞