GET /mfa/backup-codes
解密并返回当前用户的全部备用恢复码,需step-up认证。参考:RFC 6238 (TOTP)、OWASP ASVS V2.8.3。
多因素认证 `bearerAuth` application/json
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|
service-mfa/internal/handler/dto.GetBackupCodesDetailResponse
service-mfa/internal/handler/dto.GetBackupCodesResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
codes |
array of
string |
否 |
['["12345678"', '"23456789"]'] |
|
|
count |
integer |
否 |
8 |
|
|
message |
string |
否 |
Store these codes securely |
|
|