temporaryAccessPassAuthenticationMethod 资源类型
命名空间:microsoft.graph
重要
Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
表示注册给用户的临时访问通行证。 临时访问密码是一个时间限制的密码,用作强凭据并允许载入无密码凭据。 可为 temporaryAccessPassAuthenticationMethod 配置的可用性和设置取决于 临时访问传递方法策略。
方法
| 方法 | 返回类型 | Description |
|---|---|---|
| List | temporaryAccessPassAuthenticationMethod 集合 | 检索用户的 临时AccessPassAuthenticationMethod 对象及其属性的列表。 用户只能有一个临时访问传递身份验证方法。 |
| 创建 | temporaryAccessPassAuthenticationMethod | 创建用户的 temporaryAccessPassAuthenticationMethod 对象。 |
| 获取 | temporaryAccessPassAuthenticationMethod | 检索用户的 temporaryAccessPassAuthenticationMethod 对象的属性。 |
| 删除 | 无 | 删除用户的 temporaryAccessPassAuthenticationMethod 对象。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| createdDateTime | DateTimeOffset | 创建临时访问通行证的日期和时间。 |
| id | String | 注册给此用户的临时访问通行证的标识符。 继承自 entity。 |
| isUsableOnce | Boolean | 确定传递是否仅限于一次性使用。 如果 true可以使用传递一次,则 false可在临时访问传递生存期内多次使用该传递。 |
| isUsable | 布尔值 | 身份验证方法的状态,指示用户当前是否可用。 |
| lifetimeInMinutes | Int32 | 从 startDateTime 开始,临时访问传递的生存期(以分钟为单位)。 必须介于 10 到 43200 之间,包括 (等效于 30 天) 。 |
| methodUsabilityReason | String | 有关可用性状态 (的详细信息 ) 。 原因可能包括: EnabledByPolicy, DisabledByPolicy, Expired, NotYetValid, 。 OneTimeUsed |
| startDateTime | DateTimeOffset | 临时访问通行证可供使用的日期和时间以及true何时强制使用。 |
| temporaryAccessPass | String | 用于身份验证的临时访问通行证。 仅在创建新的 temporaryAccessPassAuthenticationMethod 对象时返回;隐藏在后续读取操作中,并随 GET 一样 null 返回。 |
关系
无。
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.temporaryAccessPassAuthenticationMethod",
"id": "String (identifier)",
"temporaryAccessPass": "String",
"createdDateTime": "String (timestamp)",
"startDateTime": "String (timestamp)",
"lifetimeInMinutes": "Integer",
"isUsableOnce": "Boolean",
"isUsable": "Boolean",
"methodUsabilityReason": "String"
}
反馈
提交和查看相关反馈