| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: UserAuthResult;
Method or attribute name: token?: Uint8Array;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: userAuth;
Method or attribute name: function getUserAuthInstance(authParam: AuthParam, widgetParam: WidgetParam): UserAuthInstance;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: userAuth;
Method or attribute name: function sendNotice(noticeType: NoticeType, eventData: string): void;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: userAuth;
Method or attribute name: function getUserAuthWidgetMgr(version: number): UserAuthWidgetMgr;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthType;
Method or attribute name: PIN = 1|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: WindowModeType;
Method or attribute name: DIALOG_BOX = 1|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: WindowModeType;
Method or attribute name: FULLSCREEN = 2|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: AuthParam;
Method or attribute name: challenge: Uint8Array;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: AuthParam;
Method or attribute name: authType: UserAuthType[];|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: AuthParam;
Method or attribute name: authTrustLevel: AuthTrustLevel;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: WidgetParam;
Method or attribute name: title: string;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: WidgetParam;
Method or attribute name: navigationButtonText?: string;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: WidgetParam;
Method or attribute name: windowMode?: WindowModeType;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResult;
Method or attribute name: result: number;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResult;
Method or attribute name: authType?: UserAuthType;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: IAuthCallback;
Method or attribute name: onResult(result: UserAuthResult): void;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthInstance;
Method or attribute name: on(type: 'result', callback: IAuthCallback): void;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthInstance;
Method or attribute name: off(type: 'result', callback?: IAuthCallback): void;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthInstance;
Method or attribute name: start(): void;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthInstance;
Method or attribute name: cancel(): void;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: NoticeType;
Method or attribute name: WIDGET_NOTICE = 1|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode;
Method or attribute name: CANCELED_FROM_WIDGET = 12500011|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthWidgetMgr;
Method or attribute name: on(type: 'command', callback: IAuthWidgetCallback): void;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthWidgetMgr;
Method or attribute name: off(type: 'command', callback?: IAuthWidgetCallback): void;|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: IAuthWidgetCallback;
Method or attribute name: sendCommand(cmdData: string): void;|@ohos.userIAM.userAuth.d.ts|
|Deprecated version changed|Class name: userAuth;
Method or attribute name: function getAuthInstance(challenge: Uint8Array, authType: UserAuthType, authTrustLevel: AuthTrustLevel): AuthInstance;
Old version information: |Class name: userAuth;
Method or attribute name: function getAuthInstance(challenge: Uint8Array, authType: UserAuthType, authTrustLevel: AuthTrustLevel): AuthInstance;
New version information: 10
Substitute API: ohos.userIAM.userAuth.getUserAuthInstance|@ohos.userIAM.userAuth.d.ts|
|Deprecated version changed|Class name: AuthInstance;
Method or attribute name: interface AuthInstance
Old version information: |Class name: AuthInstance;
Method or attribute name: interface AuthInstance
New version information: 10
Substitute API: ohos.userIAM.userAuth.UserAuthInstance|@ohos.userIAM.userAuth.d.ts|
|Deprecated version changed|Class name: AuthInstance;
Method or attribute name: on: (name: AuthEventKey, callback: AuthEvent) => void;
Old version information: |Class name: AuthInstance;
Method or attribute name: on: (name: AuthEventKey, callback: AuthEvent) => void;
New version information: 10
Substitute API: ohos.userIAM.userAuth.UserAuthInstance|@ohos.userIAM.userAuth.d.ts|
|Deprecated version changed|Class name: AuthInstance;
Method or attribute name: off: (name: AuthEventKey) => void;
Old version information: |Class name: AuthInstance;
Method or attribute name: off: (name: AuthEventKey) => void;
New version information: 10
Substitute API: ohos.userIAM.userAuth.UserAuthInstance|@ohos.userIAM.userAuth.d.ts|
|Deprecated version changed|Class name: AuthInstance;
Method or attribute name: start: () => void;
Old version information: |Class name: AuthInstance;
Method or attribute name: start: () => void;
New version information: 10
Substitute API: ohos.userIAM.userAuth.UserAuthInstance|@ohos.userIAM.userAuth.d.ts|
|Deprecated version changed|Class name: AuthInstance;
Method or attribute name: cancel: () => void;
Old version information: |Class name: AuthInstance;
Method or attribute name: cancel: () => void;
New version information: 10
Substitute API: ohos.userIAM.userAuth.UserAuthInstance|@ohos.userIAM.userAuth.d.ts|
|Permission changed|Class name: Authenticator;
Method or attribute name: execute(type: AuthType, level: SecureLevel): Promise\;
Old version information: |Class name: Authenticator;
Method or attribute name: execute(type: AuthType, level: SecureLevel): Promise\;
New version information: ohos.permission.ACCESS_BIOMETRIC|@ohos.userIAM.userAuth.d.ts|
|Type changed|Class name: AuthResult;
Method or attribute name: token?: Uint8Array;
Old version information: Uint8Array|Class name: AuthResult;
Method or attribute name: token?: Uint8Array;
New version information: ?Uint8Array|@ohos.userIAM.userAuth.d.ts|
|Type changed|Class name: AuthResultInfo;
Method or attribute name: token?: Uint8Array;
Old version information: Uint8Array|Class name: AuthResultInfo;
Method or attribute name: token?: Uint8Array;
New version information: ?Uint8Array|@ohos.userIAM.userAuth.d.ts|
|Type changed|Class name: AuthResult;
Method or attribute name: remainTimes?: number;
Old version information: number|Class name: AuthResult;
Method or attribute name: remainTimes?: number;
New version information: ?number|@ohos.userIAM.userAuth.d.ts|
|Type changed|Class name: AuthResult;
Method or attribute name: freezingTime?: number;
Old version information: number|Class name: AuthResult;
Method or attribute name: freezingTime?: number;
New version information: ?number|@ohos.userIAM.userAuth.d.ts|
|Type changed|Class name: AuthResultInfo;
Method or attribute name: remainAttempts?: number;
Old version information: number|Class name: AuthResultInfo;
Method or attribute name: remainAttempts?: number;
New version information: ?number|@ohos.userIAM.userAuth.d.ts|
|Type changed|Class name: AuthResultInfo;
Method or attribute name: lockoutDuration?: number;
Old version information: number|Class name: AuthResultInfo;
Method or attribute name: lockoutDuration?: number;
New version information: ?number|@ohos.userIAM.userAuth.d.ts|