agent-auth

Device Authorization

Get a browser approval link. Form: client_id=rmfg-agent and optional scope.

Poll the token endpoint at the returned interval using the device_code grant.

post/v1/oauth/device/code

Response

Show the approval link and code; poll the token endpoint at interval seconds.

device_codestring
user_codestring
verification_uristring
verification_uri_completestring
expires_ininteger
intervalinteger

Example response

{
  "expires_in": 600,
  "interval": 5
}

Changes

Changed in 1 of the 11 revisions of this API.1