1| 操作 | 旧版本 | 新版本 | d.ts文件 |
2| ---- | ------ | ------ | -------- |
3|新增|NA|类名:Constants<br>方法or属性:ACTION_ADD_ACCOUNT_IMPLICITLY = 'addAccountImplicitly'|@ohos.account.appAccount.d.ts|
4|新增|NA|类名:Constants<br>方法or属性:ACTION_AUTHENTICATE = 'authenticate'|@ohos.account.appAccount.d.ts|
5|新增|NA|类名:Constants<br>方法or属性:ACTION_CREATE_ACCOUNT_IMPLICITLY = 'createAccountImplicitly'|@ohos.account.appAccount.d.ts|
6|新增|NA|类名:Constants<br>方法or属性:ACTION_AUTH = 'auth'|@ohos.account.appAccount.d.ts|
7|新增|NA|类名:Constants<br>方法or属性:ACTION_VERIFY_CREDENTIAL = 'verifyCredential'|@ohos.account.appAccount.d.ts|
8|新增|NA|类名:Constants<br>方法or属性:ACTION_SET_AUTHENTICATOR_PROPERTIES = 'setAuthenticatorProperties'|@ohos.account.appAccount.d.ts|
9|新增|NA|类名:Constants<br>方法or属性:KEY_NAME = 'name'|@ohos.account.appAccount.d.ts|
10|新增|NA|类名:Constants<br>方法or属性:KEY_OWNER = 'owner'|@ohos.account.appAccount.d.ts|
11|新增|NA|类名:Constants<br>方法or属性:KEY_TOKEN = 'token'|@ohos.account.appAccount.d.ts|
12|新增|NA|类名:Constants<br>方法or属性:KEY_ACTION = 'action'|@ohos.account.appAccount.d.ts|
13|新增|NA|类名:Constants<br>方法or属性:KEY_AUTH_TYPE = 'authType'|@ohos.account.appAccount.d.ts|
14|新增|NA|类名:Constants<br>方法or属性:KEY_SESSION_ID = 'sessionId'|@ohos.account.appAccount.d.ts|
15|新增|NA|类名:Constants<br>方法or属性:KEY_CALLER_PID = 'callerPid'|@ohos.account.appAccount.d.ts|
16|新增|NA|类名:Constants<br>方法or属性:KEY_CALLER_UID = 'callerUid'|@ohos.account.appAccount.d.ts|
17|新增|NA|类名:Constants<br>方法or属性:KEY_CALLER_BUNDLE_NAME = 'callerBundleName'|@ohos.account.appAccount.d.ts|
18|新增|NA|类名:Constants<br>方法or属性:KEY_REQUIRED_LABELS = 'requiredLabels'|@ohos.account.appAccount.d.ts|
19|新增|NA|类名:Constants<br>方法or属性:KEY_BOOLEAN_RESULT = 'booleanResult'|@ohos.account.appAccount.d.ts|
20|新增|NA|模块名: ohos.account.distributedAccount<br>类名: DistributedAccountAbility<br>方法 or 属性:getOsAccountDistributedInfoByLocalId(localId: number, callback: AsyncCallback\<DistributedInfo>): void;|@ohos.account.distributedAccount.d.ts|
21|新增|NA|类名:DistributedAccountAbility<br>方法or属性:getOsAccountDistributedInfoByLocalId(localId: number, callback: AsyncCallback\<DistributedInfo>): void;|@ohos.account.distributedAccount.d.ts|
22|新增|NA|模块名: ohos.account.distributedAccount<br>类名: DistributedAccountAbility<br>方法 or 属性:getOsAccountDistributedInfoByLocalId(localId: number): Promise\<DistributedInfo>;|@ohos.account.distributedAccount.d.ts|
23|新增|NA|类名:DistributedAccountAbility<br>方法or属性:getOsAccountDistributedInfoByLocalId(localId: number): Promise\<DistributedInfo>;|@ohos.account.distributedAccount.d.ts|
24|新增|NA|模块名: ohos.account.distributedAccount<br>类名: DistributedAccountAbility<br>方法 or 属性:setOsAccountDistributedInfoByLocalId(<br>      localId: number,<br>      distributedInfo: DistributedInfo,<br>      callback: AsyncCallback\<void><br>    ): void;|@ohos.account.distributedAccount.d.ts|
25|新增|NA|类名:DistributedAccountAbility<br>方法or属性:setOsAccountDistributedInfoByLocalId(<br>      localId: number,<br>      distributedInfo: DistributedInfo,<br>      callback: AsyncCallback\<void><br>    ): void;|@ohos.account.distributedAccount.d.ts|
26|新增|NA|模块名: ohos.account.distributedAccount<br>类名: DistributedAccountAbility<br>方法 or 属性:setOsAccountDistributedInfoByLocalId(localId: number, distributedInfo: DistributedInfo): Promise\<void>;|@ohos.account.distributedAccount.d.ts|
27|新增|NA|类名:DistributedAccountAbility<br>方法or属性:setOsAccountDistributedInfoByLocalId(localId: number, distributedInfo: DistributedInfo): Promise\<void>;|@ohos.account.distributedAccount.d.ts|
28|新增|NA|模块名: ohos.account.distributedAccount<br>类名: DistributedAccountStatus|@ohos.account.distributedAccount.d.ts|
29|新增|NA|类名:DistributedAccountStatus<br>方法or属性:|@ohos.account.distributedAccount.d.ts|
30|新增|NA|模块名: ohos.account.distributedAccount<br>类名: DistributedAccountStatus<br>方法 or 属性:NOT_LOGGED_IN = 0|@ohos.account.distributedAccount.d.ts|
31|新增|NA|类名:DistributedAccountStatus<br>方法or属性:NOT_LOGGED_IN = 0|@ohos.account.distributedAccount.d.ts|
32|新增|NA|模块名: ohos.account.distributedAccount<br>类名: DistributedAccountStatus<br>方法 or 属性:LOGGED_IN = 1|@ohos.account.distributedAccount.d.ts|
33|新增|NA|类名:DistributedAccountStatus<br>方法or属性:LOGGED_IN = 1|@ohos.account.distributedAccount.d.ts|
34|新增|NA|类名:DistributedInfo<br>方法or属性:readonly status?: DistributedAccountStatus;|@ohos.account.distributedAccount.d.ts|
35|新增|NA|类名:DomainAccountInfo<br>方法or属性:accountId?: string;|@ohos.account.osAccount.d.ts|
36|新增|NA|模块名: ohos.account.osAccount<br>类名: AuthStatusInfo|@ohos.account.osAccount.d.ts|
37|新增|NA|类名:AuthStatusInfo<br>方法or属性:|@ohos.account.osAccount.d.ts|
38|新增|NA|模块名: ohos.account.osAccount<br>类名: AuthStatusInfo<br>方法 or 属性:remainTimes: number;|@ohos.account.osAccount.d.ts|
39|新增|NA|类名:AuthStatusInfo<br>方法or属性:remainTimes: number;|@ohos.account.osAccount.d.ts|
40|新增|NA|模块名: ohos.account.osAccount<br>类名: AuthStatusInfo<br>方法 or 属性:freezingTime: number;|@ohos.account.osAccount.d.ts|
41|新增|NA|类名:AuthStatusInfo<br>方法or属性:freezingTime: number;|@ohos.account.osAccount.d.ts|
42|新增|NA|模块名: ohos.account.osAccount<br>类名: GetDomainAccessTokenOptions|@ohos.account.osAccount.d.ts|
43|新增|NA|类名:GetDomainAccessTokenOptions<br>方法or属性:|@ohos.account.osAccount.d.ts|
44|新增|NA|模块名: ohos.account.osAccount<br>类名: GetDomainAccessTokenOptions<br>方法 or 属性:domainAccountInfo: DomainAccountInfo;|@ohos.account.osAccount.d.ts|
45|新增|NA|类名:GetDomainAccessTokenOptions<br>方法or属性:domainAccountInfo: DomainAccountInfo;|@ohos.account.osAccount.d.ts|
46|新增|NA|模块名: ohos.account.osAccount<br>类名: GetDomainAccessTokenOptions<br>方法 or 属性:domainAccountToken: Uint8Array;|@ohos.account.osAccount.d.ts|
47|新增|NA|类名:GetDomainAccessTokenOptions<br>方法or属性:domainAccountToken: Uint8Array;|@ohos.account.osAccount.d.ts|
48|新增|NA|模块名: ohos.account.osAccount<br>类名: GetDomainAccessTokenOptions<br>方法 or 属性:businessParams: { [key: string]: object };|@ohos.account.osAccount.d.ts|
49|新增|NA|类名:GetDomainAccessTokenOptions<br>方法or属性:businessParams: { [key: string]: object };|@ohos.account.osAccount.d.ts|
50|新增|NA|模块名: ohos.account.osAccount<br>类名: GetDomainAccessTokenOptions<br>方法 or 属性:callerUid: number;|@ohos.account.osAccount.d.ts|
51|新增|NA|类名:GetDomainAccessTokenOptions<br>方法or属性:callerUid: number;|@ohos.account.osAccount.d.ts|
52|新增|NA|类名:DomainPlugin<br>方法or属性:authWithPopup(domainAccountInfo: DomainAccountInfo, callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts|
53|新增|NA|类名:DomainPlugin<br>方法or属性:authWithToken(domainAccountInfo: DomainAccountInfo, token: Uint8Array, callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts|
54|新增|NA|类名:DomainPlugin<br>方法or属性:getAccountInfo(domain: string, accountName: string, callback: AsyncCallback\<DomainAccountInfo>): void;|@ohos.account.osAccount.d.ts|
55|新增|NA|类名:DomainPlugin<br>方法or属性:getAuthStatusInfo(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback\<AuthStatusInfo>): void;|@ohos.account.osAccount.d.ts|
56|新增|NA|类名:DomainPlugin<br>方法or属性:bindAccount(domainAccountInfo: DomainAccountInfo, localId: number, callback: AsyncCallback\<void>): void;|@ohos.account.osAccount.d.ts|
57|新增|NA|类名:DomainPlugin<br>方法or属性:unbindAccount(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback\<void>): void;|@ohos.account.osAccount.d.ts|
58|新增|NA|类名:DomainPlugin<br>方法or属性:isAccountTokenValid(<br>      domainAccountInfo: DomainAccountInfo,<br>      token: Uint8Array,<br>      callback: AsyncCallback\<boolean><br>    ): void;|@ohos.account.osAccount.d.ts|
59|新增|NA|类名:DomainPlugin<br>方法or属性:getAccessToken(options: GetDomainAccessTokenOptions, callback: AsyncCallback\<Uint8Array>): void;|@ohos.account.osAccount.d.ts|
60|新增|NA|类名:DomainAccountManager<br>方法or属性:static auth(domainAccountInfo: DomainAccountInfo, credential: Uint8Array, callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts|
61|新增|NA|类名:DomainAccountManager<br>方法or属性:static authWithPopup(callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts|
62|新增|NA|类名:DomainAccountManager<br>方法or属性:static authWithPopup(localId: number, callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts|
63|新增|NA|类名:DomainAccountManager<br>方法or属性:static hasAccount(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback\<boolean>): void;|@ohos.account.osAccount.d.ts|
64|新增|NA|类名:DomainAccountManager<br>方法or属性:static hasAccount(domainAccountInfo: DomainAccountInfo): Promise\<boolean>;|@ohos.account.osAccount.d.ts|
65|新增|NA|类名:DomainAccountManager<br>方法or属性:static updateAccountToken(<br>      domainAccountInfo: DomainAccountInfo,<br>      token: Uint8Array,<br>      callback: AsyncCallback\<void><br>    ): void;|@ohos.account.osAccount.d.ts|
66|新增|NA|类名:DomainAccountManager<br>方法or属性:static updateAccountToken(domainAccountInfo: DomainAccountInfo, token: Uint8Array): Promise\<void>;|@ohos.account.osAccount.d.ts|
67|新增|NA|类名:ExecutorProperty<br>方法or属性:enrollmentProgress?: string;|@ohos.account.osAccount.d.ts|
68|新增|NA|类名:ExecutorProperty<br>方法or属性:sensorInfo?: string;|@ohos.account.osAccount.d.ts|
69|新增|NA|类名:GetPropertyType<br>方法or属性:ENROLLMENT_PROGRESS = 4|@ohos.account.osAccount.d.ts|
70|新增|NA|类名:GetPropertyType<br>方法or属性:SENSOR_INFO = 5|@ohos.account.osAccount.d.ts|
71|新增|NA|类名:AuthType<br>方法or属性:FINGERPRINT = 4|@ohos.account.osAccount.d.ts|
72|新增|NA|类名:AuthSubType<br>方法or属性:FINGERPRINT_CAPACITIVE = 30000|@ohos.account.osAccount.d.ts|
73|新增|NA|类名:AuthSubType<br>方法or属性:FINGERPRINT_OPTICAL = 30001|@ohos.account.osAccount.d.ts|
74|新增|NA|类名:AuthSubType<br>方法or属性:FINGERPRINT_ULTRASONIC = 30002|@ohos.account.osAccount.d.ts|
75|新增|NA|类名:FingerprintTips<br>方法or属性:FINGERPRINT_TIP_FINGER_DOWN = 6|@ohos.account.osAccount.d.ts|
76|新增|NA|类名:FingerprintTips<br>方法or属性:FINGERPRINT_TIP_FINGER_UP = 7|@ohos.account.osAccount.d.ts|
77|访问级别有变化|类名:UserAuth<br>访问级别:公开API|类名:UserAuth<br>访问级别:系统API|@ohos.account.osAccount.d.ts|
78|访问级别有变化|类名:PINAuth<br>访问级别:公开API|类名:PINAuth<br>访问级别:系统API|@ohos.account.osAccount.d.ts|
79|访问级别有变化|类名:InputerManager<br>访问级别:公开API|类名:InputerManager<br>访问级别:系统API|@ohos.account.osAccount.d.ts|
80|访问级别有变化|类名:DomainPlugin<br>访问级别:公开API|类名:DomainPlugin<br>访问级别:系统API|@ohos.account.osAccount.d.ts|
81|访问级别有变化|类名:DomainAccountManager<br>访问级别:公开API|类名:DomainAccountManager<br>访问级别:系统API|@ohos.account.osAccount.d.ts|
82|访问级别有变化|类名:UserIdentityManager<br>访问级别:公开API|类名:UserIdentityManager<br>访问级别:系统API|@ohos.account.osAccount.d.ts|
83|新增(错误码)|NA|类名:UserAuth<br>方法 or 属性:constructor();<br>错误码内容: 202|@ohos.account.osAccount.d.ts|
84|新增(错误码)|NA|类名:UserAuth<br>方法 or 属性:getVersion(): number;<br>错误码内容: 202|@ohos.account.osAccount.d.ts|
85|新增(错误码)|NA|类名:PINAuth<br>方法 or 属性:constructor();<br>错误码内容: 202|@ohos.account.osAccount.d.ts|
86|新增(错误码)|NA|类名:UserIdentityManager<br>方法 or 属性:constructor();<br>错误码内容: 202|@ohos.account.osAccount.d.ts|
87