AccountService

Login2FA 登录第二阶段:凭 two_fa_token + TOTP code/恢复码换取正式 access/refresh token

post/v1/account/login/2fa

Request body

codestring

TOTP 6 位码或恢复码(二选一)

portalstring

Login portal: console=user console, admin=admin console; empty defaults to console.

rememberMeboolean

是否请求长期有效会话;应与登录第一阶段保持一致。

twoFaTokenstring

登录第一阶段返回的临时 token(5 分钟有效)

Response

OK

accessTokenstring

正式访问令牌

expiresAtstring date-time

access_token 过期时间

refreshTokenstring

正式刷新令牌

Changes

No recorded changes to this endpoint across all 1 revision of this API.