appConsentRequest 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

特定应用程序的 userConsentRequest 对象的集合。

方法

方法 返回类型 说明
列出 appConsentRequests appConsentRequest 集合 检索 appConsentRequest 对象及其属性的集合。
获取 appConsentRequest appConsentRequest 读取 appConsentRequest 对象的属性和关系。
filterByCurrentUser appConsentRequest 读取 appConsentRequest 对象的属性,当前用户是这些对象的审阅者,并且用户同意请求的状态为 InProgress

属性

属性 类型 说明
appDisplayName String 请求显示名称的应用程序的一部分。 必需。 仅 $filter (和 eq $orderby) 。
appId String 应用程序的标识符。 必需。 仅 $filter (和 eq $orderby) 。
consentType String 请求的同意类型。 可能的值是: Static   和  Dynamic 。 它们分别表示在同意工作流中请求的静态和动态权限。 仅 $filter (和 eq $orderby) 。 必需。
id String 应用同意请求的标识符。 必需。
pendingScopes appConsentRequestScope 集合 等待审批的挂起范围列表。 如果 consentType 为 ,则为空 Static 。 必填。

关系

关系 类型 说明
userConsentRequests userConsentRequest 集合 挂起的用户同意请求列表。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "@odata.type": "#microsoft.graph.appConsentRequest",
  "id": "String (identifier)",
  "appId": "String",
  "appDisplayName": "String",
  "consentType": "String",
  "pendingScopes": [
    {
      "@odata.type": "microsoft.graph.appConsentRequestScope"
    }
  ]
}