POST /mfa/sms/verify
Verify the SMS verification code input by the user to complete SMS MFA authentication. Rate limiting is applied. Reference: OWASP ASVS V2.8.
Multi-Factor Authentication `bearerAuth` application/json
Request Body
Schema: dto.SMSVerifyRequest
| Field | Type | Required | Example | Constraints | Description |
code |
string |
Yes |
|
|
|
phone |
string |
No |
|
|
Phone number, used to create an MFAConfig record |
Referenced Schemas
dto.SMSVerifyDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.SMSVerifyResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.SMSVerifyResponse
| 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 |
|
|
|