命名空间:microsoft.graph
重要
Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
在用户对象上公开硬件 OATH 方法。 方法必须首先由 hardwareOathTokenAuthenticationMethodDevice 策略定义,以便对用户对象进行管理。
继承自 authenticationMethod。
方法
| 方法 | 返回类型 | Description |
|---|---|---|
| List | hardwareOathAuthenticationMethod 集合 | 获取 hardwareOathAuthenticationMethod 对象及其属性的列表。 |
| 创建 | hardwareOathAuthenticationMethod | 创建新的 hardwareOathAuthenticationMethod 对象。 |
| Get | hardwareOathAuthenticationMethod | 读取 hardwareOathAuthenticationMethod 对象的属性和关系。 |
| 删除 | None | 删除 hardwareOathAuthenticationMethod 对象。 |
| Activate | None | 激活已分配给用户的硬件 OATH 令牌。 |
| Deactivate | None | 停用硬件 OATH 令牌。 它仍然分配给用户。 |
| Assign | user | 向用户分配硬件令牌而不激活它。 |
| 分配和激活 | None | 同时分配和激活硬件令牌。 |
| 按序列号分配和激活 | None | 通过硬件令牌序列号同时分配和激活硬件令牌。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| createdDateTime | DateTimeOffset | 向用户注册身份验证方法的日期和时间。 只读。 可选。 时间戳类型使用 ISO 8601 格式表示日期和时间信息,并且始终采用 UTC 格式。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 |
| lastUsedDateTime | DateTimeOffset | 用户上次使用身份验证方法的日期和时间。 只读。 可选。 如果身份验证方法未填充,则 null 此可选值为 。 时间戳类型使用 ISO 8601 格式表示日期和时间信息,并且始终采用 UTC 格式。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 继承自 authenticationMethod。 |
| id | String | 设备的唯一标识符。 继承自 entity。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| 设备 | hardwareOathTokenAuthenticationMethodDevice | 在 目录中公开硬件 OATH 方法。 |
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
"@odata.type": "#microsoft.graph.hardwareOathAuthenticationMethod",
"createdDateTime": "String (timestamp)",
"lastUsedDateTime": "String (timestamp)",
"id": "String (identifier)",
}