跳转到主要内容
POST
POST /admin/api/credential-login/device/start

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

请求体

application/json
providerId
string
必填
label
string | null
owner
object

Who the credential belongs to, in the application layer's own vocabulary. Opaque to this crate: it copies the three columns through untouched, and only the layer above knows what an organization or a team is.

响应

Success

expiresAtMs
integer<int64> | null
必填

When the upstream stops accepting this user code, if it said.

intervalSecs
integer<uint64>
必填

How long to wait before the first poll, and between polls. The upstream may raise it; a Pending answer always carries the current value.

必填范围: x >= 0
loginSessionId
string
必填
userCode
string
必填

What the person types on the other device.

verificationUri
string
必填
verificationUriComplete
string | null
必填

The same page with the code already filled in, where the upstream offers one.