mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
访问控制api lint告警清理
Signed-off-by: zhouyan <zhouyan160@huawei.com> Change-Id: I0bd184f9129c738bf2ab2b78e18678bab290141f
This commit is contained in:
parent
cf885d1a52
commit
cb9290fd29
4
api/@ohos.abilityAccessCtrl.d.ts
vendored
4
api/@ohos.abilityAccessCtrl.d.ts
vendored
@ -824,6 +824,7 @@ export { Permissions };
|
||||
/**
|
||||
* PermissionRequestResult interface.
|
||||
*
|
||||
* @typedef { _PermissionRequestResult }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -832,6 +833,7 @@ export { Permissions };
|
||||
/**
|
||||
* PermissionRequestResult interface.
|
||||
*
|
||||
* @typedef { _PermissionRequestResult }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -842,6 +844,7 @@ export type PermissionRequestResult = _PermissionRequestResult;
|
||||
/**
|
||||
* Context interface.
|
||||
*
|
||||
* @typedef { _Context }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -850,6 +853,7 @@ export type PermissionRequestResult = _PermissionRequestResult;
|
||||
/**
|
||||
* Context interface.
|
||||
*
|
||||
* @typedef { _Context }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
|
7
api/security/PermissionRequestResult.d.ts
vendored
7
api/security/PermissionRequestResult.d.ts
vendored
@ -46,6 +46,7 @@ export default class PermissionRequestResult {
|
||||
/**
|
||||
* The permissions passed in by the user.
|
||||
*
|
||||
* @type { Array<string> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @since 9
|
||||
@ -53,6 +54,7 @@ export default class PermissionRequestResult {
|
||||
/**
|
||||
* The permissions passed in by the user.
|
||||
*
|
||||
* @type { Array<string> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -61,6 +63,7 @@ export default class PermissionRequestResult {
|
||||
/**
|
||||
* The permissions passed in by the user.
|
||||
*
|
||||
* @type { Array<string> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -73,6 +76,7 @@ export default class PermissionRequestResult {
|
||||
* The results for the corresponding request permissions. The value 0 indicates that a
|
||||
* permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid.
|
||||
*
|
||||
* @type { Array<number> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @since 9
|
||||
@ -81,6 +85,7 @@ export default class PermissionRequestResult {
|
||||
* The results for the corresponding request permissions. The value 0 indicates that a
|
||||
* permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid.
|
||||
*
|
||||
* @type { Array<number> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -90,6 +95,7 @@ export default class PermissionRequestResult {
|
||||
* The results for the corresponding request permissions. The value 0 indicates that a
|
||||
* permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid.
|
||||
*
|
||||
* @type { Array<number> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -102,6 +108,7 @@ export default class PermissionRequestResult {
|
||||
* Specifies whether a dialog box is shown for each requested permission.
|
||||
* The value true means that a dialog box is shown, and false means the opposite.
|
||||
*
|
||||
* @type { ?Array<boolean> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @atomicservice
|
||||
|
Loading…
Reference in New Issue
Block a user