AccountService

Verify2FA 验证 TOTP 码(登录后或开启时确认)

post/v1/account/2fa/verify

Request body

codestring

TOTP 验证码(6 位数字)或备份码

portalstring

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

rememberMeboolean

登录流程中沿用第一步的长期有效选择;开启 2FA 确认流程忽略该字段。

twoFaTokenstring

登录流程中 two_fa_token(若为登录验证则必填)

Response

OK

accessTokenstring

验证成功后签发的 access_token(登录流程)

enabledboolean

是否为开启 2FA 时的确认(true 表示开启成功)

expiresAtstring date-time
refreshTokenstring

刷新令牌(登录流程)

Changes

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