POST /mfa/email/verify
Verify the email verification code submitted by the user to determine its validity. Rate limiting is applied. Reference: OWASP ASVS V2.8.
Multi-Factor Authentication `bearerAuth` application/json
Request Body
Schema: dto.EmailVerifyRequest
| Field | Type | Required | Example | Constraints | Description |
code |
string |
Yes |
|
|
|
email |
string |
No |
|
|
Email address, used to create an MFAConfig record |
Referenced Schemas
dto.EmailVerifyDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.ValidResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.ValidResponse
| Field | Type | Required | Example | Constraints | Description |
valid |
boolean |
No |
True |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|