{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/posit/main/json-schema/posit-oauth-credentials-schema.json", "title": "OAuthCredentials", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/posit-oauth-integrations-api-openapi.yml#/components/schemas/OAuthCredentials", "additionalProperties": false, "properties": { "access_token": { "description": "The user's token which is accepted by the external resource. If\n`issued_token_type` is `urn:ietf:params:aws:token-type:credentials`, then\nthis field will contain base64-encoded JSON containing temporary AWS\ncredentials.\n\nhttps://datatracker.ietf.org/doc/html/rfc8693#section-2.2.1-2.2", "type": [ "string", "null" ] }, "issued_token_type": { "description": "The type of token stored in the access_token field.\n\nhttps://datatracker.ietf.org/doc/html/rfc8693#section-2.2.1-2.4", "type": [ "string", "null" ] }, "token_type": { "description": "The method by which the access_token should be provided to the external\nresource.\n\nhttps://datatracker.ietf.org/doc/html/rfc8693#section-2.2.1-2.6", "type": [ "string", "null" ] }, "expires_in": { "description": "The remaining time before the returned token expires, expressed in seconds.\n\nThis value is only returned if expiry information is available for the\ntoken. For example, if an external OAuth service does not provide expiry\ninformation to Connect, this value can't be returned in the response.\n\nToken expiration is calulated relative to the current UTC time, *not* local\ntime.\n\nhttps://datatracker.ietf.org/doc/html/rfc8693#section-2.2.1-2.8", "format": "int64", "type": [ "integer", "null" ] } }, "type": "object" }