GET /internal/mfa/status/{user_id}
内部获取用户MFA状态,无需JWT认证,供其他服务(identity-service)调用。需要X-Tenant-ID请求头。参考:OWASP ASVS V2.8。
MFA None application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
user_id |
path |
string |
Yes |
|
|
|
用户ID |
Referenced Schemas
dto.InternalMFAStatusDetailResponse
dto.InternalMFAStatusResponse
dto.MFAMethodStatus
| Field | Type | Required | Example | Constraints | Description |
email |
string |
No |
user@example.com |
|
|
enabled |
boolean |
No |
True |
|
|
phone |
string |
No |
+8613800****000 |
|
|
verified |
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 |
|
|
|