Apache Iceberg · Schema

OAuthTokenExchangeRequest

The `oauth/tokens` endpoint and related schemas are **DEPRECATED for REMOVAL** from this spec, see description of the endpoint. OAuth2 token exchange request See https://datatracker.ietf.org/doc/html/rfc8693

ACIDAnalyticsApacheData LakeLakehouseOpen SourceTable Format

Properties

Name Type Description
grant_type string
scope string
requested_token_type object
subject_token string Subject token for token exchange request
subject_token_type object
actor_token string Actor token for token exchange request
actor_token_type object
View JSON Schema on GitHub

JSON Schema

rest-catalog-open-api-o-auth-token-exchange-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-iceberg/refs/heads/main/json-schema/rest-catalog-open-api-o-auth-token-exchange-request-schema.json",
  "title": "OAuthTokenExchangeRequest",
  "description": "The `oauth/tokens` endpoint and related schemas are **DEPRECATED for REMOVAL** from this spec, see description of the endpoint.\n\nOAuth2 token exchange request\n\nSee https://datatracker.ietf.org/doc/html/rfc8693",
  "type": "object",
  "properties": {
    "grant_type": {
      "type": "string",
      "enum": [
        "urn:ietf:params:oauth:grant-type:token-exchange"
      ]
    },
    "scope": {
      "type": "string"
    },
    "requested_token_type": {
      "$ref": "#/components/schemas/TokenType"
    },
    "subject_token": {
      "type": "string",
      "description": "Subject token for token exchange request"
    },
    "subject_token_type": {
      "$ref": "#/components/schemas/TokenType"
    },
    "actor_token": {
      "type": "string",
      "description": "Actor token for token exchange request"
    },
    "actor_token_type": {
      "$ref": "#/components/schemas/TokenType"
    }
  },
  "required": [
    "grant_type",
    "subject_token",
    "subject_token_type"
  ],
  "deprecated": true
}