GET /mfa/trusted-devices/{trusted_device_id}

根据ID获取指定受信设备的详细信息。参考:NIST SP 800-63B §5.1、OWASP ASVS V2.8。

多因素认证 `bearerAuth` application/json

请求参数

名称位置类型必填默认值示例约束描述
trusted_device_id path string 是 受信设备ID

响应

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-mfa/internal/handler/dto.TrustedDeviceItem

字段类型必填示例约束描述
created_at string 否 2026-05-25T08:00:00Z
device_name string 否 iPhone 15
id string 否 td_abc123
ip_address string 否 192.168.1.100
trusted_until string 否 2026-06-25T08:00:00Z