A AuthMS API Wiki API Reference iam.tianv.com →

GET /internal/mfa/push/challenge/{id}

内部API:根据挑战ID和用户ID查询Push MFA挑战状态,供identity-service在MFA验证流程中调用。需要InternalAPIKey认证和X-Tenant-ID请求头。

Internal MFA None application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 挑战ID
user_id query string Yes 用户ID
X-Tenant-ID header string Yes 租户ID

Responses

StatusDescriptionSchema
200挑战状态dto.PushChallengeStatusDetailResponse
400参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401缺少内部API认证gitee_com_linmes_authms_base_dto.SimpleResponse
404挑战未找到gitee_com_linmes_authms_base_dto.SimpleResponse
500服务器内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.PushChallengeStatusDetailResponse

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

dto.PushChallengeStatusResponse

FieldTypeRequiredExampleConstraintsDescription
challenge_id string No chal-abc123
login_context string No login from Beijing
number_matching string No 42
resolved_at string No 2026-05-25T12:05:00Z
status string No approved

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No