A AuthMS API Wiki API Reference iam.tianv.com →

GET /mfa/trusted-devices/{id}

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

MFA `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 受信设备ID

Responses

StatusDescriptionSchema
200受信设备dto.TrustedDeviceItem
400参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证gitee_com_linmes_authms_base_dto.SimpleResponse
404设备未找到gitee_com_linmes_authms_base_dto.SimpleResponse
500服务器内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.TrustedDeviceItem

FieldTypeRequiredExampleConstraintsDescription
created_at string No 2026-05-25T08:00:00Z
device_name string No iPhone 15
id string No td_abc123
ip_address string No 192.168.1.100
trusted_until string No 2026-06-25T08:00:00Z

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No