Device Token Exchange

OAuth 2.0 token endpoint for device authorization. Supports multiple grant types: polling for device authorization (device_code) and refreshing tokens (refresh_token).

リクエスト

client_idstring必須
Must be a unique identifier per hardware device, such as a unique hardware serial number. Must be the same as the client id used on initial authorization.
client_secretstring必須

A static string, provided by Frame.io to be embedded for a device manufacturer/model. Acts as an identifier within Frame.io.

grant_typeenum必須

Grant type - use ‘urn:ietf:params:oauth:grant-type:device_code’ for polling, or ‘refresh_token’ for refreshing an access token

許可された値:
device_codestringオプション

The device code received from the /v2/auth/device/code endpoint. Required when grant_type is ‘urn:ietf:params:oauth:grant-type:device_code’.

refresh_tokenstringオプション

A valid refresh_token from a previous authorization. Refresh tokens are valid for 14 days from issuance. Required when grant_type is ‘refresh_token’.

レスポンス

OK