命名空间:microsoft.graph
重要
Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
表示包含在受此策略影响的令牌中的单个声明。 它包含可配置的名称、命名空间、令牌格式和声明名称格式。 声明名称格式仅适用于 SAML 令牌。
继承自 customClaimBase。
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| 配置 | customClaimConfiguration 集合 | 描述声明的源方式和条件的一个或多个配置。 继承自 customClaimBase。 |
| name | String | 要发出的声明的名称。 |
| 命名 空间 | String | 要作为声明名称的一部分包含的可选命名空间。 |
| samlAttributeNameFormat | samlAttributeNameFormat | 如果指定,它将在 SAML 响应中设置 nameFormat 与声明关联的属性。 可能的值包括 unspecified、uri、basic、unknownFutureValue。 |
| tokenFormat | tokenFormat 集合 | 应发出此声明的令牌格式列表。 可能的值为: saml、jwt、 unknownFutureValue |
关系
无。
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
"@odata.type": "#microsoft.graph.customClaim",
"configurations": [
{
"@odata.type": "microsoft.graph.customClaimConfiguration"
}
],
"name": "String",
"namespace": "String",
"tokenFormat": [
"String"
],
"samlAttributeNameFormat": "String"
}