login_qr_poll
login_qr_pollPolls QR code login status at intervals until the user scans or timeout expires, returning success with a JWT-authenticated user object once authenticated.
Instructions
等待/轮询扫码登录结果(免鉴权)。timeout 秒内每 3 秒查询一次,用户扫码后返回 status=success 与用户对象(JWT 已自动保存);timeout=0 只查一次。默认 120 秒。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | 等待秒数,0=只查一次;默认 120 | |
| session_id | Yes | login_qr_start 返回的 session_id |