LoginPrepareData
Schema: LoginPrepareData
OpenAPI Specification
yaml
openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths: {}
components:
schemas:
LoginPrepareData:
type: object
description: data of POST /auth/login/prepare
properties:
mfaBound:
type: boolean
description: Whether Google Authenticator is bound
mfaRequired:
type: boolean
description: Whether this login requires a Google Auth code (usually true for ops console)
qrCodeUrl:
type: string
description: |
未绑定时返回 otpauth URL。待绑密钥缓存在服务端 Redis(按 userId,TTL≈10min),
前端无需回传 ticket。已绑定时为空。
x-apifox-orders:
- mfaBound
- mfaRequired
- qrCodeUrl
x-apifox-folder: ''
securitySchemes: {}
servers: []
security: []