操作 | 旧版本 | 新版本 | d.ts文件 |
---|---|---|---|
删除 | 类名:AuthorizationExtensionAbility; 方法or属性:onStartAuthorization(request: AuthorizationRequest, callback: AuthorizationCallback): void; |
NA | @ohos.account.appAccount.AuthorizationExtensionAbility.d.ts |
删除 | 类名:AuthorizationRequest; 方法or属性:readonly callerUid: number; |
NA | @ohos.account.appAccount.AuthorizationExtensionAbility.d.ts |
删除 | 类名:AuthorizationRequest; 方法or属性:readonly parameters: appAccount.AccountCapabilityRequest; |
NA | @ohos.account.appAccount.AuthorizationExtensionAbility.d.ts |
删除 | 类名:AuthorizationCallback; 方法or属性:onResult: AsyncCallback<appAccount.AccountCapabilityResponse, { [key: string]: object }>; |
NA | @ohos.account.appAccount.AuthorizationExtensionAbility.d.ts |
删除 | 类名:AccountCapabilityType; 方法or属性:AUTHORIZATION = 1 |
NA | @ohos.account.appAccount.d.ts |
删除 | 类名:AccountCapabilityProvider; 方法or属性:readonly capabilityType: AccountCapabilityType; |
NA | @ohos.account.appAccount.d.ts |
删除 | 类名:AccountCapabilityProvider; 方法or属性:constructor(capabilityType: AccountCapabilityType); |
NA | @ohos.account.appAccount.d.ts |
删除 | 类名:AuthorizationProvider; 方法or属性:constructor(info: AuthorizationProviderInfo); |
NA | @ohos.account.appAccount.d.ts |
删除 | 类名:AuthorizationProviderInfo; 方法or属性:readonly bundleName: string; |
NA | @ohos.account.appAccount.d.ts |
删除 | 类名:AuthorizationProviderInfo; 方法or属性:readonly abilityName: string; |
NA | @ohos.account.appAccount.d.ts |
删除 | 类名:AccountCapabilityRequest; 方法or属性:constructor(provider: AccountCapabilityProvider); |
NA | @ohos.account.appAccount.d.ts |
删除 | 类名:AccountCapabilityResponse; 方法or属性:readonly request: AccountCapabilityRequest; |
NA | @ohos.account.appAccount.d.ts |
删除 | 类名:AccountCapabilityResponse; 方法or属性:constructor(request: AccountCapabilityRequest); |
NA | @ohos.account.appAccount.d.ts |
删除 | 类名:AccountCapabilityScheduler; 方法or属性:executeRequest( request: AccountCapabilityRequest, callback: AsyncCallback<AccountCapabilityResponse, { [key: string]: object }> ): void; |
NA | @ohos.account.appAccount.d.ts |
删除 | 类名:AccountCapabilityScheduler; 方法or属性:executeRequest(request: AccountCapabilityRequest): Promise<AccountCapabilityResponse>; |
NA | @ohos.account.appAccount.d.ts |
新增 | NA | 类名:AccountManager; 方法or属性:getOsAccountLocalIdForUidSync(uid: number): number; |
@ohos.account.osAccount.d.ts |
新增 | NA | 类名:AccountManager; 方法or属性:getBundleIdForUidSync(uid: number): number; |
@ohos.account.osAccount.d.ts |
新增 | NA | 类名:GetDomainAccountInfoOptions; 方法or属性:accountName: string; |
@ohos.account.osAccount.d.ts |
新增 | NA | 类名:GetDomainAccountInfoOptions; 方法or属性:domain?: string; |
@ohos.account.osAccount.d.ts |
新增 | NA | 类名:GetDomainAccountInfoPluginOptions; 方法or属性:callerUid: number; |
@ohos.account.osAccount.d.ts |
新增 | NA | 类名:DomainAccountManager; 方法or属性:static getAccountInfo(options: GetDomainAccountInfoOptions, callback: AsyncCallback<DomainAccountInfo>): void; |
@ohos.account.osAccount.d.ts |
新增 | NA | 类名:DomainAccountManager; 方法or属性:static getAccountInfo(options: GetDomainAccountInfoOptions): Promise<DomainAccountInfo>; |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:UserAuth; 方法or属性:auth( challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback ): Uint8Array; 旧版本信息:201,202,401,12300001,12300002,12300101,12300105,12300106,12300110,12300111,12300112 |
类名:UserAuth; 方法or属性:auth( challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback ): Uint8Array; 新版本信息:201,202,401,12300001,12300002,12300101,12300102,12300105,12300106,12300109,12300110,12300111,12300112 |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:UserAuth; 方法or属性:authUser( userId: number, challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback ): Uint8Array; 旧版本信息:201,202,401,12300001,12300002,12300101,12300105,12300106,12300110,12300111,12300112 |
类名:UserAuth; 方法or属性:authUser( userId: number, challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback ): Uint8Array; 新版本信息:201,202,401,12300001,12300002,12300101,12300102,12300105,12300106,12300109,12300110,12300111,12300112 |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:DomainAccountManager; 方法or属性:static auth(domainAccountInfo: DomainAccountInfo, credential: Uint8Array, callback: IUserAuthCallback): void; 旧版本信息:201,202,401,12300001,12300002,12300003,12300013,12300101,12300109,12300110,12300111,12300112,12300113,12300114 |
类名:DomainAccountManager; 方法or属性:static auth(domainAccountInfo: DomainAccountInfo, credential: Uint8Array, callback: IUserAuthCallback): void; 新版本信息:201,202,401,801,12300001,12300002,12300003,12300013,12300101,12300109,12300110,12300111,12300112,12300113,12300114 |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:DomainAccountManager; 方法or属性:static authWithPopup(callback: IUserAuthCallback): void; 旧版本信息:201,202,401,12300001,12300003,12300013,12300101,12300109,12300110,12300111,12300112,12300113,12300114 |
类名:DomainAccountManager; 方法or属性:static authWithPopup(callback: IUserAuthCallback): void; 新版本信息:201,202,401,801,12300001,12300003,12300013,12300101,12300109,12300110,12300111,12300112,12300113,12300114 |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:DomainAccountManager; 方法or属性:static authWithPopup(localId: number, callback: IUserAuthCallback): void; 旧版本信息:201,202,401,12300001,12300002,12300003,12300013,12300101,12300109,12300110,12300111,12300112,12300113,12300114 |
类名:DomainAccountManager; 方法or属性:static authWithPopup(localId: number, callback: IUserAuthCallback): void; 新版本信息:201,202,401,801,12300001,12300002,12300003,12300013,12300101,12300109,12300110,12300111,12300112,12300113,12300114 |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:DomainAccountManager; 方法or属性:static hasAccount(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback<boolean>): void; 旧版本信息:201,202,401,12300001,12300002,12300013 |
类名:DomainAccountManager; 方法or属性:static hasAccount(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback<boolean>): void; 新版本信息:201,202,401,801,12300001,12300002,12300013,12300111 |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:DomainAccountManager; 方法or属性:static hasAccount(domainAccountInfo: DomainAccountInfo): Promise<boolean>; 旧版本信息:201,202,401,12300001,12300002,12300013 |
类名:DomainAccountManager; 方法or属性:static hasAccount(domainAccountInfo: DomainAccountInfo): Promise<boolean>; 新版本信息:201,202,401,801,12300001,12300002,12300013,12300111 |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:UserIdentityManager; 方法or属性:addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; 旧版本信息:201,202,401,12300001,12300002,12300101,12300106 |
类名:UserIdentityManager; 方法or属性:addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; 新版本信息:201,202,401,12300001,12300002,12300101,12300106,12300109,12300111,12300115 |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:UserIdentityManager; 方法or属性:updateCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; 旧版本信息:201,202,401,12300001,12300002,12300101,12300106 |
类名:UserIdentityManager; 方法or属性:updateCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; 新版本信息:201,202,401,12300001,12300002,12300101,12300102,12300106,12300109,12300111 |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:UserIdentityManager; 方法or属性:getAuthInfo(callback: AsyncCallback<Array<EnrolledCredInfo>>): void; 旧版本信息:201,202,401,12300001 |
类名:UserIdentityManager; 方法or属性:getAuthInfo(callback: AsyncCallback<Array<EnrolledCredInfo>>): void; 新版本信息:201,202,401,12300001,12300102 |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:UserIdentityManager; 方法or属性:getAuthInfo(authType: AuthType, callback: AsyncCallback<Array<EnrolledCredInfo>>): void; 旧版本信息:201,202,401,12300001,12300002 |
类名:UserIdentityManager; 方法or属性:getAuthInfo(authType: AuthType, callback: AsyncCallback<Array<EnrolledCredInfo>>): void; 新版本信息:201,202,401,12300001,12300002,12300102 |
@ohos.account.osAccount.d.ts |
错误码有变化 | 类名:UserIdentityManager; 方法or属性:getAuthInfo(authType?: AuthType): Promise<Array<EnrolledCredInfo>>; 旧版本信息:201,202,401,12300001,12300002 |
类名:UserIdentityManager; 方法or属性:getAuthInfo(authType?: AuthType): Promise<Array<EnrolledCredInfo>>; 新版本信息:201,202,401,12300001,12300002,12300102 |
@ohos.account.osAccount.d.ts |
权限有变化 | 类名:AccountManager; 方法or属性:getCurrentOsAccount(callback: AsyncCallback<OsAccountInfo>): void; 旧版本信息:ohos.permission.MANAGE_LOCAL_ACCOUNTS |
类名:AccountManager; 方法or属性:getCurrentOsAccount(callback: AsyncCallback<OsAccountInfo>): void; 新版本信息:ohos.permission.MANAGE_LOCAL_ACCOUNTS,ohos.permission.GET_LOCAL_ACCOUNTS |
@ohos.account.osAccount.d.ts |
权限有变化 | 类名:AccountManager; 方法or属性:getCurrentOsAccount(): Promise<OsAccountInfo>; 旧版本信息:ohos.permission.MANAGE_LOCAL_ACCOUNTS |
类名:AccountManager; 方法or属性:getCurrentOsAccount(): Promise<OsAccountInfo>; 新版本信息:ohos.permission.MANAGE_LOCAL_ACCOUNTS,ohos.permission.GET_LOCAL_ACCOUNTS |
@ohos.account.osAccount.d.ts |
函数有变化 | 类名:DomainPlugin; 方法or属性:getAccountInfo(domain: string, accountName: string, callback: AsyncCallback<DomainAccountInfo>): void; |
类名:DomainPlugin; 方法or属性:getAccountInfo(options: GetDomainAccountInfoPluginOptions, callback: AsyncCallback<DomainAccountInfo>): void; |
@ohos.account.osAccount.d.ts |