跳到主要内容

轮询 device flow 结果并换取 API Key

POST 

/api/auth/device/token

返回 authorization_pending 时继续按 intervalSeconds 轮询; 返回 slow_down 时应读取 Retry-Afterdata.retryAfterSeconds 做退避; 返回 expired_token 表示当前 device code 已过期或已被消费。

Request

Responses

批准成功后返回一次性明文 API Key 与账号信息。