# OAuthRefreshMaterial


[API catalog](/reference/api/) · [Docker Sandboxes overview](/reference/api/sandboxes/latest/) · [Product manual](https://docs.docker.com/ai/sandboxes-api/) · [OpenAPI specification](/reference/api/sandboxes/api.yaml)

API version: v1


> This API is experimental. Features, interfaces,
> and behavior may change.




Schema constraints and annotations:

```json
{
  "additionalProperties": false,
  "description": "OAuthRefreshMaterial is OAuth secret material. Unlike OAuthRefreshMaterialV2 it pairs\nno bootstrap token with an expiry and stores client_id as the caller supplied it.",
  "properties": {
    "clientId": {
      "description": "client_id is the OAuth client id.",
      "type": "string"
    },
    "expiresAt": {
      "$ref": "#/components/schemas/Timestamp",
      "description": "expires_at is the access token expiry when supplied."
    },
    "idToken": {
      "description": "id_token is an optional OpenID Connect id token.",
      "type": "string",
      "writeOnly": true
    },
    "initialAccessToken": {
      "description": "initial_access_token is an optional bootstrap access token.",
      "type": "string",
      "writeOnly": true
    },
    "providerAccountId": {
      "description": "provider_account_id identifies the provider account.",
      "type": "string"
    },
    "refreshToken": {
      "description": "refresh_token is the OAuth refresh token.",
      "minLength": 1,
      "type": "string",
      "writeOnly": true
    },
    "scopes": {
      "description": "scopes are requested OAuth scopes.",
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "refreshToken"
  ],
  "title": "OAuthRefreshMaterial",
  "type": "object"
}
```



