GET /mfa/backup-codes
解密并返回当前用户的全部备用恢复码,需step-up认证。参考:RFC 6238 (TOTP)、OWASP ASVS V2.8.3。
MFA `bearerAuth` application/json
Referenced Schemas
dto.GetBackupCodesDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.GetBackupCodesResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.GetBackupCodesResponse
| Field | Type | Required | Example | Constraints | Description |
codes |
array of
string |
No |
['["12345678"', '"23456789"]'] |
|
|
count |
integer |
No |
8 |
|
|
message |
string |
No |
Store these codes securely |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|