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

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

多因素认证 - 内部接口 多因素认证 None application/json

请求参数

名称位置类型必填默认值示例约束描述
credential_id path string 是 挑战ID
user_id query string 是 用户ID
X-Tenant-ID header string 是 租户ID

响应

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-mfa/internal/handler/dto.PushChallengeStatusDetailResponse

字段类型必填示例约束描述
code integer 否
data service-mfa/internal/handler/dto.PushChallengeStatusResponse 否
message string 否
timestamp string 否

service-mfa/internal/handler/dto.PushChallengeStatusResponse

字段类型必填示例约束描述
challenge_id string 否 chal-abc123
login_context string 否 login from Beijing
number_matching string 否 42
resolved_at string 否 2026-05-25T12:05:00Z
status string 否 approved