harmony 鸿蒙js-apidiff-user-iam

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

Change Type Old Version New Version d.ts File
Added NA Class name: AuthResultInfo;
Method or attribute name: token ?: Uint8Array;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: FaceAuthManager;
Method or attribute name: constructor();
@ohos.userIAM.faceAuth.d.ts
Added NA Class name: FaceAuthManager;
Method or attribute name: setSurfaceId(surfaceId: string): void;
@ohos.userIAM.faceAuth.d.ts
Added NA Class name: userAuth;
Method or attribute name: type AuthEventKey = “result” |“tip”;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: userAuth;
Method or attribute name: type EventInfo = AuthResultInfo |TipInfo;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: userAuth;
Method or attribute name: function getAvailableStatus(authType: UserAuthType, authTrustLevel: AuthTrustLevel): void;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: userAuth;
Method or attribute name: function getAuthInstance(challenge: Uint8Array, authType: UserAuthType, authTrustLevel: AuthTrustLevel): AuthInstance;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: AuthEvent;
Method or attribute name: callback(result: EventInfo): void;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: AuthResultInfo;
Method or attribute name: result: number;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: AuthResultInfo;
Method or attribute name: remainAttempts ?: number;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: AuthResultInfo;
Method or attribute name: lockoutDuration ?: number;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: TipInfo;
Method or attribute name: module: number;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: TipInfo;
Method or attribute name: tip: number;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: AuthInstance;
Method or attribute name: on: (name: AuthEventKey, callback: AuthEvent) => void;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: AuthInstance;
Method or attribute name: off: (name: AuthEventKey) => void;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: AuthInstance;
Method or attribute name: start: () => void;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: AuthInstance;
Method or attribute name: cancel: () => void;
@ohos.userIAM.userAuth.d.ts
Added NA Class name: UserAuthResultCode;
Method or attribute name: SUCCESS = 12500000
@ohos.userIAM.userAuth.d.ts
Added NA Class name: UserAuthResultCode;
Method or attribute name: FAIL = 12500001
@ohos.userIAM.userAuth.d.ts
Added NA Class name: UserAuthResultCode;
Method or attribute name: GENERAL_ERROR = 12500002
@ohos.userIAM.userAuth.d.ts
Added NA Class name: UserAuthResultCode;
Method or attribute name: CANCELED = 12500003
@ohos.userIAM.userAuth.d.ts
Added NA Class name: UserAuthResultCode;
Method or attribute name: TIMEOUT = 12500004
@ohos.userIAM.userAuth.d.ts
Added NA Class name: UserAuthResultCode;
Method or attribute name: TYPE_NOT_SUPPORT = 12500005
@ohos.userIAM.userAuth.d.ts
Added NA Class name: UserAuthResultCode;
Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 12500006
@ohos.userIAM.userAuth.d.ts
Added NA Class name: UserAuthResultCode;
Method or attribute name: BUSY = 12500007
@ohos.userIAM.userAuth.d.ts
Added NA Class name: UserAuthResultCode;
Method or attribute name: LOCKED = 12500009
@ohos.userIAM.userAuth.d.ts
Added NA Class name: UserAuthResultCode;
Method or attribute name: NOT_ENROLLED = 12500010
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: AuthenticationResult;
Method or attribute name: export enum AuthenticationResult
Old version:
Class name: AuthenticationResult;
Method or attribute name: export enum AuthenticationResult
New version: 8
Substitute API: ohos.userIAM.userAuth.ResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: Authenticator;
Method or attribute name: interface Authenticator
Old version:
Class name: Authenticator;
Method or attribute name: interface Authenticator
New version: 8
Substitute API:
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: Authenticator;
Method or attribute name: execute(type: AuthType, level: SecureLevel): Promise<number>;
Old version:
Class name: Authenticator;
Method or attribute name: execute(type: AuthType, level: SecureLevel): Promise<number>;
New version: 8
Substitute API:
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: UserAuth;
Method or attribute name: class UserAuth
Old version:
Class name: UserAuth;
Method or attribute name: class UserAuth
New version: 9
Substitute API: ohos.userIAM.userAuth.AuthInstance
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: UserAuth;
Method or attribute name: constructor();
Old version:
Class name: UserAuth;
Method or attribute name: constructor();
New version: 9
Substitute API: ohos.userIAM.userAuth.getAuthInstance
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: UserAuth;
Method or attribute name: getVersion(): number;
Old version:
Class name: UserAuth;
Method or attribute name: getVersion(): number;
New version: 9
Substitute API: ohos.userIAM.userAuth.getVersion
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: UserAuth;
Method or attribute name: getAvailableStatus(authType: UserAuthType, authTrustLevel: AuthTrustLevel): number;
Old version:
Class name: UserAuth;
Method or attribute name: getAvailableStatus(authType: UserAuthType, authTrustLevel: AuthTrustLevel): number;
New version: 9
Substitute API: ohos.userIAM.userAuth.getAvailableStatus
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: UserAuth;
Method or attribute name: auth(challenge: Uint8Array, authType: UserAuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array;
Old version:
Class name: UserAuth;
Method or attribute name: auth(challenge: Uint8Array, authType: UserAuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array;
New version: 9
Substitute API: ohos.userIAM.userAuth.AuthInstance.start
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: UserAuth;
Method or attribute name: cancelAuth(contextID: Uint8Array): number;
Old version:
Class name: UserAuth;
Method or attribute name: cancelAuth(contextID: Uint8Array): number;
New version: 9
Substitute API: ohos.userIAM.userAuth.AuthInstance.cancel
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: IUserAuthCallback;
Method or attribute name: interface IUserAuthCallback
Old version:
Class name: IUserAuthCallback;
Method or attribute name: interface IUserAuthCallback
New version: 9
Substitute API: ohos.userIAM.userAuth.AuthEvent
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: IUserAuthCallback;
Method or attribute name: onResult: (result: number, extraInfo: AuthResult) => void;
Old version:
Class name: IUserAuthCallback;
Method or attribute name: onResult: (result: number, extraInfo: AuthResult) => void;
New version: 9
Substitute API: ohos.userIAM.userAuth.AuthEvent.callback
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: IUserAuthCallback;
Method or attribute name: onAcquireInfo ?: (module: number, acquire: number, extraInfo: any) => void;
Old version:
Class name: IUserAuthCallback;
Method or attribute name: onAcquireInfo ?: (module: number, acquire: number, extraInfo: any) => void;
New version: 9
Substitute API: ohos.userIAM.userAuth.AuthEvent.callback
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: AuthResult;
Method or attribute name: interface AuthResult
Old version:
Class name: AuthResult;
Method or attribute name: interface AuthResult
New version: 9
Substitute API: ohos.userIAM.userAuth.AuthResultInfo
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: AuthResult;
Method or attribute name: token ?: Uint8Array;
Old version:
Class name: AuthResult;
Method or attribute name: token ?: Uint8Array;
New version: 9
Substitute API: ohos.userIAM.userAuth.AuthResultInfo
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: AuthResult;
Method or attribute name: remainTimes ?: number;
Old version:
Class name: AuthResult;
Method or attribute name: remainTimes ?: number;
New version: 9
Substitute API: ohos.userIAM.userAuth.AuthResultInfo
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: AuthResult;
Method or attribute name: freezingTime ?: number;
Old version:
Class name: AuthResult;
Method or attribute name: freezingTime ?: number;
New version: 9
Substitute API: ohos.userIAM.userAuth.AuthResultInfo
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: enum ResultCode
Old version:
Class name: ResultCode;
Method or attribute name: enum ResultCode
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: SUCCESS = 0
Old version:
Class name: ResultCode;
Method or attribute name: SUCCESS = 0
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: FAIL = 1
Old version:
Class name: ResultCode;
Method or attribute name: FAIL = 1
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: GENERAL_ERROR = 2
Old version:
Class name: ResultCode;
Method or attribute name: GENERAL_ERROR = 2
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: CANCELED = 3
Old version:
Class name: ResultCode;
Method or attribute name: CANCELED = 3
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: TIMEOUT = 4
Old version:
Class name: ResultCode;
Method or attribute name: TIMEOUT = 4
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: TYPE_NOT_SUPPORT = 5
Old version:
Class name: ResultCode;
Method or attribute name: TYPE_NOT_SUPPORT = 5
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 6
Old version:
Class name: ResultCode;
Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 6
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: BUSY = 7
Old version:
Class name: ResultCode;
Method or attribute name: BUSY = 7
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: INVALID_PARAMETERS = 8
Old version:
Class name: ResultCode;
Method or attribute name: INVALID_PARAMETERS = 8
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: LOCKED = 9
Old version:
Class name: ResultCode;
Method or attribute name: LOCKED = 9
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Deprecated version changed Class name: ResultCode;
Method or attribute name: NOT_ENROLLED = 10
Old version:
Class name: ResultCode;
Method or attribute name: NOT_ENROLLED = 10
New version: 9
Substitute API: ohos.userIAM.userAuth.UserAuthResultCode
@ohos.userIAM.userAuth.d.ts
Permission changed Class name: userAuth;
Method or attribute name: declare userAuth
Old version: ohos.permission.ACCESS_BIOMETRIC
Class name: userAuth;
Method or attribute name: declare userAuth
New version:
@ohos.userIAM.userAuth.d.ts
Permission changed Class name: Authenticator;
Method or attribute name: execute(type: AuthType, level: SecureLevel, callback: AsyncCallback<number>): void;
Old version:
Class name: Authenticator;
Method or attribute name: execute(type: AuthType, level: SecureLevel, callback: AsyncCallback<number>): void;
New version: ohos.permission.ACCESS_BIOMETRIC
@ohos.userIAM.userAuth.d.ts
Permission changed Class name: UserAuth;
Method or attribute name: getVersion(): number;
Old version:
Class name: UserAuth;
Method or attribute name: getVersion(): number;
New version: ohos.permission.ACCESS_BIOMETRIC
@ohos.userIAM.userAuth.d.ts
Type changed Class name: AuthResult;
Method or attribute name: token ?: Uint8Array;
Old version:
Class name: AuthResult;
Method or attribute name: token ?: Uint8Array;
New version: Uint8Array
@ohos.userIAM.userAuth.d.ts
Type changed Class name: AuthResult;
Method or attribute name: remainTimes ?: number;
Old version:
Class name: AuthResult;
Method or attribute name: remainTimes ?: number;
New version: number
@ohos.userIAM.userAuth.d.ts
Type changed Class name: AuthResult;
Method or attribute name: freezingTime ?: number;
Old version:
Class name: AuthResult;
Method or attribute name: freezingTime ?: number;
New version: number
@ohos.userIAM.userAuth.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

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

0  赞