以下objects与mfa
API直接相关.
MFA(多因素认证)object具有以下属性。
属性 | 数据类型 | 描述 |
---|---|---|
mfaid | ID | MFA方法的ID。 属性行为: - 只读 - 进行update操作时必填 |
type | integer | MFA方法的类型。 可选值: 1 - TOTP(基于时间的一次性密码); 2 - Duo通用提示。 |
name | string | MFA方法的唯一名称。 属性行为: - 进行create操作时必填 |
hash_function | integer | 生成TOTP码的哈希函数类型。 可选值: 1 - SHA-1; 2 - SHA-256; 3 - SHA-512。 属性行为: - 当 type 设为"TOTP"时必填 |
code_length | integer | 验证码长度。 可选值: 6 - 6位; 8 - 8位。 属性行为: - 当 type 设为"TOTP"时必填 |
api_hostname | string | Duo认证服务提供的API主机名。 属性行为: - 当 type 设为"Duo通用提示"时必填 |
clientid | string | Duo认证服务提供的客户端ID。 属性行为: - 当 type 设为"Duo通用提示"时必填 |
client_secret | string | Duo认证服务提供的客户端密钥。 属性行为: - 仅写入 - 当 type 设为"Duo通用提示"时必填 |