mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
!14872 OH5.1,新增uiContext支持PC上模应用弹框方式显示身份认证控件,新增userid支持系统应用跨用户身份认证
Merge pull request !14872 from liuhanxiong/OpenHarmony_feature_20241121
This commit is contained in:
commit
4e46cb7b2a
21
api/@ohos.userIAM.userAuth.d.ts
vendored
21
api/@ohos.userIAM.userAuth.d.ts
vendored
@ -1262,6 +1262,16 @@ declare namespace userAuth {
|
||||
* @since 12
|
||||
*/
|
||||
reuseUnlockResult?: ReuseUnlockResult;
|
||||
|
||||
/**
|
||||
* The user id to authenticate.
|
||||
*
|
||||
* @type { ?number }
|
||||
* @syscap SystemCapability.UserIAM.UserAuth.Core
|
||||
* @systemapi Hide this for inner system use.
|
||||
* @since 16
|
||||
*/
|
||||
userId?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1324,6 +1334,17 @@ declare namespace userAuth {
|
||||
* @since 10
|
||||
*/
|
||||
windowMode?: WindowModeType;
|
||||
|
||||
/**
|
||||
* Display the authentication dialog in modal application mode. This mode is supported only on PC. Without this
|
||||
* parameter or on other kind of devices, the authentication dialog would be displayed in modal system mode.
|
||||
*
|
||||
* @type { ?Context }
|
||||
* @syscap SystemCapability.UserIAM.UserAuth.Core
|
||||
* @atomicservice
|
||||
* @since 16
|
||||
*/
|
||||
uiContext?: Context;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user