GET /mfa/backup-codes
Decrypt and return all backup recovery codes for the current user, requires step-up authentication. Reference: RFC 6238 (TOTP), OWASP ASVS V2.8.3.
Multi-Factor Authentication `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 |
|
|
|