GET /mfa/backup-codes/count
Return the count of backup recovery codes for the current user and whether they are nearly exhausted. Reference: RFC 6238 (TOTP), OWASP ASVS V2.8.3.
Multi-Factor Authentication `bearerAuth` application/json
Referenced Schemas
dto.BackupCodesCountDetailResponse
dto.BackupCodesCountResponse
| Field | Type | Required | Example | Constraints | Description |
count |
integer |
No |
8 |
|
|
max_codes |
integer |
No |
10 |
|
|
message |
string |
No |
|
|
|
should_regenerate |
boolean |
No |
False |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|