Storyden
Admin

Admin O Auth Device Authorisation List

List OAuth device authorisation records. Device authorisation records are short-lived records created by the OAuth 2.0 Device Authorization Grant. They are not owned by an account until a signed-in user claims and approves or denies the user code.

GET
/admin/oauth/device-authorizations

List OAuth device authorisation records.

Device authorisation records are short-lived records created by the OAuth 2.0 Device Authorization Grant. They are not owned by an account until a signed-in user claims and approves or denies the user code.

Authorization

cookiestoryden-session<token>

Response Body

OAuth device authorisations.

application/json
  1. response
device_authorisations*array<>
Example Request
curl -X GET 'https://example.com/api/admin/oauth/device-authorizations'
Example Response
{  "device_authorisations": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "client_id": "string",      "user_code": "string",      "scope": "string",      "expires_at": "2019-08-24T14:15:22Z",      "poll_interval_seconds": 0,      "last_polled_at": "2019-08-24T14:15:22Z",      "approved_by_account_id": "string",      "approved_at": "2019-08-24T14:15:22Z",      "denied_at": "2019-08-24T14:15:22Z",      "consumed_at": "2019-08-24T14:15:22Z"    }  ]}