GET /mfa/backup-codes/count
返回当前用户备用恢复码的数量和是否为即将用尽的状态。参考:RFC 6238 (TOTP)、OWASP ASVS V2.8.3。
MFA `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 |
|
|
|