Roku · JSON Structure

Nabu Cloud Oidctoken Response Model Structure

OIDC Token response model

Type: object Properties: 6 Required: 5
StreamingTelevisionMediaEntertainmentConnected TVConsumer Electronics

OIDCTokenResponseModel is a JSON Structure definition published by Roku, describing 6 properties, of which 5 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

access_token refresh_token expires_in refresh_expires_in token_type scope

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/roku/refs/heads/main/json-structure/nabu-cloud-oidctoken-response-model-structure.json",
  "name": "OIDCTokenResponseModel",
  "description": "OIDC Token response model",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "title": "Access Token"
    },
    "refresh_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Refresh Token"
    },
    "expires_in": {
      "type": "int32",
      "title": "Expires In"
    },
    "refresh_expires_in": {
      "type": "int32",
      "title": "Refresh Expires In"
    },
    "token_type": {
      "type": "string",
      "title": "Token Type"
    },
    "scope": {
      "type": "string",
      "title": "Scope"
    }
  },
  "required": [
    "access_token",
    "expires_in",
    "refresh_expires_in",
    "token_type",
    "scope"
  ]
}