1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Added|NA|Class name: AuthResultInfo;<br>Method or attribute name: token ?: Uint8Array;|@ohos.userIAM.userAuth.d.ts|
4|Added|NA|Class name: FaceAuthManager;<br>Method or attribute name: constructor();|@ohos.userIAM.faceAuth.d.ts|
5|Added|NA|Class name: FaceAuthManager;<br>Method or attribute name: setSurfaceId(surfaceId: string): void;|@ohos.userIAM.faceAuth.d.ts|
6|Added|NA|Class name: userAuth;<br>Method or attribute name: type AuthEventKey = "result" \| "tip";|@ohos.userIAM.userAuth.d.ts|
7|Added|NA|Class name: userAuth;<br>Method or attribute name: type EventInfo = AuthResultInfo \| TipInfo;|@ohos.userIAM.userAuth.d.ts|
8|Added|NA|Class name: userAuth;<br>Method or attribute name: function getAvailableStatus(authType: UserAuthType, authTrustLevel: AuthTrustLevel): void;|@ohos.userIAM.userAuth.d.ts|
9|Added|NA|Class name: userAuth;<br>Method or attribute name: function getAuthInstance(challenge: Uint8Array, authType: UserAuthType, authTrustLevel: AuthTrustLevel): AuthInstance;|@ohos.userIAM.userAuth.d.ts|
10|Added|NA|Class name: AuthEvent;<br>Method or attribute name: callback(result: EventInfo): void;|@ohos.userIAM.userAuth.d.ts|
11|Added|NA|Class name: AuthResultInfo;<br>Method or attribute name: result: number;|@ohos.userIAM.userAuth.d.ts|
12|Added|NA|Class name: AuthResultInfo;<br>Method or attribute name: remainAttempts ?: number;|@ohos.userIAM.userAuth.d.ts|
13|Added|NA|Class name: AuthResultInfo;<br>Method or attribute name: lockoutDuration ?: number;|@ohos.userIAM.userAuth.d.ts|
14|Added|NA|Class name: TipInfo;<br>Method or attribute name: module: number;|@ohos.userIAM.userAuth.d.ts|
15|Added|NA|Class name: TipInfo;<br>Method or attribute name: tip: number;|@ohos.userIAM.userAuth.d.ts|
16|Added|NA|Class name: AuthInstance;<br>Method or attribute name: on: (name: AuthEventKey, callback: AuthEvent) => void;|@ohos.userIAM.userAuth.d.ts|
17|Added|NA|Class name: AuthInstance;<br>Method or attribute name: off: (name: AuthEventKey) => void;|@ohos.userIAM.userAuth.d.ts|
18|Added|NA|Class name: AuthInstance;<br>Method or attribute name: start: () => void;|@ohos.userIAM.userAuth.d.ts|
19|Added|NA|Class name: AuthInstance;<br>Method or attribute name: cancel: () => void;|@ohos.userIAM.userAuth.d.ts|
20|Added|NA|Class name: UserAuthResultCode;<br>Method or attribute name: SUCCESS = 12500000|@ohos.userIAM.userAuth.d.ts|
21|Added|NA|Class name: UserAuthResultCode;<br>Method or attribute name: FAIL = 12500001|@ohos.userIAM.userAuth.d.ts|
22|Added|NA|Class name: UserAuthResultCode;<br>Method or attribute name: GENERAL_ERROR = 12500002|@ohos.userIAM.userAuth.d.ts|
23|Added|NA|Class name: UserAuthResultCode;<br>Method or attribute name: CANCELED = 12500003|@ohos.userIAM.userAuth.d.ts|
24|Added|NA|Class name: UserAuthResultCode;<br>Method or attribute name: TIMEOUT = 12500004|@ohos.userIAM.userAuth.d.ts|
25|Added|NA|Class name: UserAuthResultCode;<br>Method or attribute name: TYPE_NOT_SUPPORT = 12500005|@ohos.userIAM.userAuth.d.ts|
26|Added|NA|Class name: UserAuthResultCode;<br>Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 12500006|@ohos.userIAM.userAuth.d.ts|
27|Added|NA|Class name: UserAuthResultCode;<br>Method or attribute name: BUSY = 12500007|@ohos.userIAM.userAuth.d.ts|
28|Added|NA|Class name: UserAuthResultCode;<br>Method or attribute name: LOCKED = 12500009|@ohos.userIAM.userAuth.d.ts|
29|Added|NA|Class name: UserAuthResultCode;<br>Method or attribute name: NOT_ENROLLED = 12500010|@ohos.userIAM.userAuth.d.ts|
30|Deprecated version changed|Class name: AuthenticationResult;<br>Method or attribute name: export enum AuthenticationResult<br>Old version: |Class name: AuthenticationResult;<br>Method or attribute name: export enum AuthenticationResult<br>New version: 8<br>Substitute API: ohos.userIAM.userAuth.ResultCode|@ohos.userIAM.userAuth.d.ts|
31|Deprecated version changed|Class name: Authenticator;<br>Method or attribute name: interface Authenticator<br>Old version: |Class name: Authenticator;<br>Method or attribute name: interface Authenticator<br>New version: 8<br>Substitute API: |@ohos.userIAM.userAuth.d.ts|
32|Deprecated version changed|Class name: Authenticator;<br>Method or attribute name: execute(type: AuthType, level: SecureLevel): Promise\<number>;<br>Old version: |Class name: Authenticator;<br>Method or attribute name: execute(type: AuthType, level: SecureLevel): Promise\<number>;<br>New version: 8<br>Substitute API: |@ohos.userIAM.userAuth.d.ts|
33|Deprecated version changed|Class name: UserAuth;<br>Method or attribute name: class UserAuth<br>Old version: |Class name: UserAuth;<br>Method or attribute name: class UserAuth<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.AuthInstance|@ohos.userIAM.userAuth.d.ts|
34|Deprecated version changed|Class name: UserAuth;<br>Method or attribute name: constructor();<br>Old version: |Class name: UserAuth;<br>Method or attribute name: constructor();<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.getAuthInstance|@ohos.userIAM.userAuth.d.ts|
35|Deprecated version changed|Class name: UserAuth;<br>Method or attribute name: getVersion(): number;<br>Old version: |Class name: UserAuth;<br>Method or attribute name: getVersion(): number;<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.getVersion|@ohos.userIAM.userAuth.d.ts|
36|Deprecated version changed|Class name: UserAuth;<br>Method or attribute name: getAvailableStatus(authType: UserAuthType, authTrustLevel: AuthTrustLevel): number;<br>Old version: |Class name: UserAuth;<br>Method or attribute name: getAvailableStatus(authType: UserAuthType, authTrustLevel: AuthTrustLevel): number;<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.getAvailableStatus|@ohos.userIAM.userAuth.d.ts|
37|Deprecated version changed|Class name: UserAuth;<br>Method or attribute name: auth(challenge: Uint8Array, authType: UserAuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array;<br>Old version: |Class name: UserAuth;<br>Method or attribute name: auth(challenge: Uint8Array, authType: UserAuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array;<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.AuthInstance.start|@ohos.userIAM.userAuth.d.ts|
38|Deprecated version changed|Class name: UserAuth;<br>Method or attribute name: cancelAuth(contextID: Uint8Array): number;<br>Old version: |Class name: UserAuth;<br>Method or attribute name: cancelAuth(contextID: Uint8Array): number;<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.AuthInstance.cancel|@ohos.userIAM.userAuth.d.ts|
39|Deprecated version changed|Class name: IUserAuthCallback;<br>Method or attribute name: interface IUserAuthCallback<br>Old version: |Class name: IUserAuthCallback;<br>Method or attribute name: interface IUserAuthCallback<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.AuthEvent|@ohos.userIAM.userAuth.d.ts|
40|Deprecated version changed|Class name: IUserAuthCallback;<br>Method or attribute name: onResult: (result: number, extraInfo: AuthResult) => void;<br>Old version: |Class name: IUserAuthCallback;<br>Method or attribute name: onResult: (result: number, extraInfo: AuthResult) => void;<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.AuthEvent.callback|@ohos.userIAM.userAuth.d.ts|
41|Deprecated version changed|Class name: IUserAuthCallback;<br>Method or attribute name: onAcquireInfo ?: (module: number, acquire: number, extraInfo: any) => void;<br>Old version: |Class name: IUserAuthCallback;<br>Method or attribute name: onAcquireInfo ?: (module: number, acquire: number, extraInfo: any) => void;<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.AuthEvent.callback|@ohos.userIAM.userAuth.d.ts|
42|Deprecated version changed|Class name: AuthResult;<br>Method or attribute name: interface AuthResult<br>Old version: |Class name: AuthResult;<br>Method or attribute name: interface AuthResult<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.AuthResultInfo|@ohos.userIAM.userAuth.d.ts|
43|Deprecated version changed|Class name: AuthResult;<br>Method or attribute name: token ?: Uint8Array;<br>Old version: |Class name: AuthResult;<br>Method or attribute name: token ?: Uint8Array;<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.AuthResultInfo|@ohos.userIAM.userAuth.d.ts|
44|Deprecated version changed|Class name: AuthResult;<br>Method or attribute name: remainTimes ?: number;<br>Old version: |Class name: AuthResult;<br>Method or attribute name: remainTimes ?: number;<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.AuthResultInfo|@ohos.userIAM.userAuth.d.ts|
45|Deprecated version changed|Class name: AuthResult;<br>Method or attribute name: freezingTime ?: number;<br>Old version: |Class name: AuthResult;<br>Method or attribute name: freezingTime ?: number;<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.AuthResultInfo|@ohos.userIAM.userAuth.d.ts|
46|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: enum ResultCode<br>Old version: |Class name: ResultCode;<br>Method or attribute name: enum ResultCode<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
47|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: SUCCESS = 0<br>Old version: |Class name: ResultCode;<br>Method or attribute name: SUCCESS = 0<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
48|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: FAIL = 1<br>Old version: |Class name: ResultCode;<br>Method or attribute name: FAIL = 1<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
49|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: GENERAL_ERROR = 2<br>Old version: |Class name: ResultCode;<br>Method or attribute name: GENERAL_ERROR = 2<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
50|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: CANCELED = 3<br>Old version: |Class name: ResultCode;<br>Method or attribute name: CANCELED = 3<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
51|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: TIMEOUT = 4<br>Old version: |Class name: ResultCode;<br>Method or attribute name: TIMEOUT = 4<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
52|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: TYPE_NOT_SUPPORT = 5<br>Old version: |Class name: ResultCode;<br>Method or attribute name: TYPE_NOT_SUPPORT = 5<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
53|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 6<br>Old version: |Class name: ResultCode;<br>Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 6<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
54|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: BUSY = 7<br>Old version: |Class name: ResultCode;<br>Method or attribute name: BUSY = 7<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
55|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: INVALID_PARAMETERS = 8<br>Old version: |Class name: ResultCode;<br>Method or attribute name: INVALID_PARAMETERS = 8<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
56|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: LOCKED = 9<br>Old version: |Class name: ResultCode;<br>Method or attribute name: LOCKED = 9<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
57|Deprecated version changed|Class name: ResultCode;<br>Method or attribute name: NOT_ENROLLED = 10<br>Old version: |Class name: ResultCode;<br>Method or attribute name: NOT_ENROLLED = 10<br>New version: 9<br>Substitute API: ohos.userIAM.userAuth.UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
58|Permission changed|Class name: userAuth;<br>Method or attribute name: declare userAuth<br>Old version: ohos.permission.ACCESS_BIOMETRIC|Class name: userAuth;<br>Method or attribute name: declare userAuth<br>New version: |@ohos.userIAM.userAuth.d.ts|
59|Permission changed|Class name: Authenticator;<br>Method or attribute name: execute(type: AuthType, level: SecureLevel, callback: AsyncCallback\<number>): void;<br>Old version: |Class name: Authenticator;<br>Method or attribute name: execute(type: AuthType, level: SecureLevel, callback: AsyncCallback\<number>): void;<br>New version: ohos.permission.ACCESS_BIOMETRIC|@ohos.userIAM.userAuth.d.ts|
60|Permission changed|Class name: UserAuth;<br>Method or attribute name: getVersion(): number;<br>Old version: |Class name: UserAuth;<br>Method or attribute name: getVersion(): number;<br>New version: ohos.permission.ACCESS_BIOMETRIC|@ohos.userIAM.userAuth.d.ts|
61|Type changed|Class name: AuthResult;<br>Method or attribute name: token ?: Uint8Array;<br>Old version: |Class name: AuthResult;<br>Method or attribute name: token ?: Uint8Array;<br>New version: Uint8Array|@ohos.userIAM.userAuth.d.ts|
62|Type changed|Class name: AuthResult;<br>Method or attribute name: remainTimes ?: number;<br>Old version: |Class name: AuthResult;<br>Method or attribute name: remainTimes ?: number;<br>New version: number|@ohos.userIAM.userAuth.d.ts|
63|Type changed|Class name: AuthResult;<br>Method or attribute name: freezingTime ?: number;<br>Old version: |Class name: AuthResult;<br>Method or attribute name: freezingTime ?: number;<br>New version: number|@ohos.userIAM.userAuth.d.ts|
64