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
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 |
|
|