1.2K Star 6.5K Fork 5.6K

OpenHarmony/docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
js-apidiff-user-iam.md 6.63 KB
一键复制 编辑 原始数据 按行查看 历史
时睿 提交于 2023-10-26 20:15 . 同步apidiff
操作 旧版本 新版本 d.ts文件
新增 NA 类名:UserAuthResult;
方法or属性:token?: Uint8Array;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:userAuth;
方法or属性:function getUserAuthInstance(authParam: AuthParam, widgetParam: WidgetParam): UserAuthInstance;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:userAuth;
方法or属性:function sendNotice(noticeType: NoticeType, eventData: string): void;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:userAuth;
方法or属性:function getUserAuthWidgetMgr(version: number): UserAuthWidgetMgr;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:UserAuthType;
方法or属性:PIN = 1
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:WindowModeType;
方法or属性:DIALOG_BOX = 1
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:WindowModeType;
方法or属性:FULLSCREEN = 2
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:AuthParam;
方法or属性:challenge: Uint8Array;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:AuthParam;
方法or属性:authType: UserAuthType[];
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:AuthParam;
方法or属性:authTrustLevel: AuthTrustLevel;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:WidgetParam;
方法or属性:title: string;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:WidgetParam;
方法or属性:navigationButtonText?: string;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:WidgetParam;
方法or属性:windowMode?: WindowModeType;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:UserAuthResult;
方法or属性:result: number;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:UserAuthResult;
方法or属性:authType?: UserAuthType;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:IAuthCallback;
方法or属性:onResult(result: UserAuthResult): void;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:UserAuthInstance;
方法or属性:on(type: 'result', callback: IAuthCallback): void;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:UserAuthInstance;
方法or属性:off(type: 'result', callback?: IAuthCallback): void;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:UserAuthInstance;
方法or属性:start(): void;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:UserAuthInstance;
方法or属性:cancel(): void;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:NoticeType;
方法or属性:WIDGET_NOTICE = 1
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:UserAuthResultCode;
方法or属性:CANCELED_FROM_WIDGET = 12500011
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:UserAuthWidgetMgr;
方法or属性:on(type: 'command', callback: IAuthWidgetCallback): void;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:UserAuthWidgetMgr;
方法or属性:off(type: 'command', callback?: IAuthWidgetCallback): void;
@ohos.userIAM.userAuth.d.ts
新增 NA 类名:IAuthWidgetCallback;
方法or属性:sendCommand(cmdData: string): void;
@ohos.userIAM.userAuth.d.ts
废弃版本有变化 类名:userAuth;
方法or属性:function getAuthInstance(challenge: Uint8Array, authType: UserAuthType, authTrustLevel: AuthTrustLevel): AuthInstance;
旧版本信息:
类名:userAuth;
方法or属性:function getAuthInstance(challenge: Uint8Array, authType: UserAuthType, authTrustLevel: AuthTrustLevel): AuthInstance;
新版本信息:10
代替接口: ohos.userIAM.userAuth.getUserAuthInstance
@ohos.userIAM.userAuth.d.ts
废弃版本有变化 类名:AuthInstance;
方法or属性:interface AuthInstance
旧版本信息:
类名:AuthInstance;
方法or属性:interface AuthInstance
新版本信息:10
代替接口: ohos.userIAM.userAuth.UserAuthInstance
@ohos.userIAM.userAuth.d.ts
废弃版本有变化 类名:AuthInstance;
方法or属性:on: (name: AuthEventKey, callback: AuthEvent) => void;
旧版本信息:
类名:AuthInstance;
方法or属性:on: (name: AuthEventKey, callback: AuthEvent) => void;
新版本信息:10
代替接口: ohos.userIAM.userAuth.UserAuthInstance
@ohos.userIAM.userAuth.d.ts
废弃版本有变化 类名:AuthInstance;
方法or属性:off: (name: AuthEventKey) => void;
旧版本信息:
类名:AuthInstance;
方法or属性:off: (name: AuthEventKey) => void;
新版本信息:10
代替接口: ohos.userIAM.userAuth.UserAuthInstance
@ohos.userIAM.userAuth.d.ts
废弃版本有变化 类名:AuthInstance;
方法or属性:start: () => void;
旧版本信息:
类名:AuthInstance;
方法or属性:start: () => void;
新版本信息:10
代替接口: ohos.userIAM.userAuth.UserAuthInstance
@ohos.userIAM.userAuth.d.ts
废弃版本有变化 类名:AuthInstance;
方法or属性:cancel: () => void;
旧版本信息:
类名:AuthInstance;
方法or属性:cancel: () => void;
新版本信息:10
代替接口: ohos.userIAM.userAuth.UserAuthInstance
@ohos.userIAM.userAuth.d.ts
权限有变化 类名:Authenticator;
方法or属性:execute(type: AuthType, level: SecureLevel): Promise<number>;
旧版本信息:
类名:Authenticator;
方法or属性:execute(type: AuthType, level: SecureLevel): Promise<number>;
新版本信息:ohos.permission.ACCESS_BIOMETRIC
@ohos.userIAM.userAuth.d.ts
type有变化 类名:AuthResult;
方法or属性:token?: Uint8Array;
旧版本信息:Uint8Array
类名:AuthResult;
方法or属性:token?: Uint8Array;
新版本信息:?Uint8Array
@ohos.userIAM.userAuth.d.ts
type有变化 类名:AuthResultInfo;
方法or属性:token?: Uint8Array;
旧版本信息:Uint8Array
类名:AuthResultInfo;
方法or属性:token?: Uint8Array;
新版本信息:?Uint8Array
@ohos.userIAM.userAuth.d.ts
type有变化 类名:AuthResult;
方法or属性:remainTimes?: number;
旧版本信息:number
类名:AuthResult;
方法or属性:remainTimes?: number;
新版本信息:?number
@ohos.userIAM.userAuth.d.ts
type有变化 类名:AuthResult;
方法or属性:freezingTime?: number;
旧版本信息:number
类名:AuthResult;
方法or属性:freezingTime?: number;
新版本信息:?number
@ohos.userIAM.userAuth.d.ts
type有变化 类名:AuthResultInfo;
方法or属性:remainAttempts?: number;
旧版本信息:number
类名:AuthResultInfo;
方法or属性:remainAttempts?: number;
新版本信息:?number
@ohos.userIAM.userAuth.d.ts
type有变化 类名:AuthResultInfo;
方法or属性:lockoutDuration?: number;
旧版本信息:number
类名:AuthResultInfo;
方法or属性:lockoutDuration?: number;
新版本信息:?number
@ohos.userIAM.userAuth.d.ts
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
其他
1
https://gitee.com/openharmony/docs.git
git@gitee.com:openharmony/docs.git
openharmony
docs
docs
OpenHarmony-4.0-Release

搜索帮助

Cb406eda 1850385 E526c682 1850385