harmony 鸿蒙js-apidiff-account

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

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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API差异报告

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  赞