/mfa/trusted-devices
撤销用户所有受信设备,所有设备后续需重新MFA验证。参考:NIST SP 800-63B §5.1、OWASP ASVS V2.8。
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 已撤销数量 | dto.TrustedDeviceCountDetailResponse |
| 400 | 参数错误 | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 401 | 未认证 | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 500 | 服务器内部错误 | gitee_com_linmes_authms_base_dto.SimpleResponse |
Referenced Schemas
dto.TrustedDeviceCountDetailResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
data |
dto.TrustedDeviceCountResponse |
No | |||
message |
string |
No | |||
timestamp |
string |
No |
dto.TrustedDeviceCountResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
count |
integer |
No | 3 |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
message |
string |
No | |||
timestamp |
string |
No |