Autional Autional
API Reference GitHub autional.com →

GET /internal/mfa/status/{user_id}

Internal get user MFA status without JWT authentication, called by other services (identity-service). Requires X-Tenant-ID header. Reference: OWASP ASVS V2.8.

Multi-Factor Authentication None application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
user_id path string Yes User ID

Responses

StatusDescriptionSchema
200MFA statusdto.InternalMFAStatusDetailResponse
400Invalid parameter or missing X-Tenant-IDgitee_com_linmes_authms_base_dto.SimpleResponse
401Missing internal API authenticationgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.InternalMFAStatusDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.InternalMFAStatusResponse No
message string No
timestamp string No

dto.InternalMFAStatusResponse

FieldTypeRequiredExampleConstraintsDescription
email dto.MFAMethodStatus No
sms dto.MFAMethodStatus No
totp dto.MFAMethodStatus No

dto.MFAMethodStatus

FieldTypeRequiredExampleConstraintsDescription
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

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No