temporaryAccessPassAuthenticationMethodConfiguration 资源类型

命名空间:microsoft.graph

重要

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

表示临时访问传递身份验证方法策略,该策略定义配置设置以及启用临时 访问传递身份验证方法的用户或组。

方法

方法 返回类型 说明
获取 temporaryaccesspassauthenticationmethodconfiguration 读取 temporaryAccessPassAuthenticationMethodConfiguration 对象的属性和关系。
更新 更新 temporaryAccessPassAuthenticationMethodConfiguration 对象的 属性。
删除 temporaryAccessPassAuthenticationMethodConfiguration 对象还原为其默认配置。

属性

属性 类型 说明
defaultLength Int 临时访问传递对象的字符的默认长度。 必须介于 8 到 48 个字符之间。
defaultLifetimeInMinutes Int 临时访问通行证的默认生存期(以分钟为单位)。 值可以是 minimumLifetimeInMinutesmaximumLifetimeInMinutes 之间的任何整数。
id String 身份验证方法策略的标识符。 继承自 entity
isUsableOnce Boolean 如果 true是,租户中的所有传递将限制为一次性使用。 如果 false可以创建租户中的传递,以便一次性使用或可重用。
minimumLifetimeInMinutes Int 在租户中创建的任何临时访问通行证的最小生存期(以分钟为单位)。 值可以介于 10 到 43200 分钟之间 (等效于 30 天) 。
maximumLifetimeInMinutes Int 在租户中创建的任何临时访问通行证的最大生存期(以分钟为单位)。 值可以介于 10 到 43200 分钟之间 (等效于 30 天) 。
state authenticationMethodState 是否在租户中启用临时访问传递方法。 可取值为:enableddisabled。 继承自 authenticationMethodConfiguration

关系

关系 类型 说明
includeTargets authenticationMethodTarget 集合 启用了使用身份验证方法的用户或组的集合。

JSON 表示形式

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

{
  "@odata.type": "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration",
  "id": "String (identifier)",
  "state": "String",
  "defaultLifetimeInMinutes": "Integer",
  "defaultLength": "Integer",
  "minimumLifetimeInMinutes": "Integer",
  "maximumLifetimeInMinutes": "Integer",
  "isUsableOnce": "Boolean",
  "includeTargets": [ { "@odata.type": "microsoft.graph.authenticationMethodTarget" } ]
}