University of Zurich · JSON Structure

University Of Zurich Token Response Structure

JSON Structure for the SWITCH edu-ID OAuth 2.0 / OIDC token response.

Type: object Properties: 6 Required: 2
EducationHigher EducationUniversitySwitzerlandOpen AccessResearch RepositoryOpen DataIdentity

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

Properties

access_token token_type expires_in scope id_token refresh_token

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/university-of-zurich/main/json-structure/university-of-zurich-token-response-structure.json",
  "name": "EduIdTokenResponse",
  "type": "object",
  "description": "JSON Structure for the SWITCH edu-ID OAuth 2.0 / OIDC token response.",
  "properties": {
    "access_token": { "type": "string" },
    "token_type": { "type": "string" },
    "expires_in": { "type": "int32" },
    "scope": { "type": "string" },
    "id_token": { "type": "string" },
    "refresh_token": { "type": "string" }
  },
  "required": ["access_token", "token_type"]
}