Interface AttemptStateDTO
一次评分式登录尝试的当前状态;由不透明尝试工单回源换取。
| Name | Data Type | Required | Description |
|---|---|---|---|
| attemptTicket | string | Yes | 尝试工单(不透明,后续因素继续携带) |
| status | string | Yes | pending 未达标 / satisfied 已达标 |
| score | number | Yes | 当前累加分数 |
| threshold | number | Yes | 签发会话所需阈值 |
| verifiedFactors | array | Yes | 已通过的因素(password / otp / mfa / captcha) |
| nextFactors | array | Yes | 按配置仍可选的下一因素 |
| expiresAt | string | Yes | 尝试与工单的过期时间 |
type AttemptStateDTO = {
/** 尝试工单(不透明,后续因素继续携带) */
attemptTicket: string
/** pending 未达标 / satisfied 已达标 */
status: string
/** 当前累加分数 */
score: number
/** 签发会话所需阈值 */
threshold: number
/** 已通过的因素(password / otp / mfa / captcha) */
verifiedFactors: string[]
/** 按配置仍可选的下一因素 */
nextFactors: string[]
/** 尝试与工单的过期时间 */
expiresAt: string
}{
"attemptTicket": "atk_9f2c7be14d0a53e8",
"status": "pending",
"score": 40,
"threshold": 60,
"verifiedFactors": [
"password"
],
"nextFactors": [
"otp",
"mfa",
"captcha"
],
"expiresAt": "2026-10-14T08:10:00Z"
}