Workday Security · Schema

TokenResponse

OAuth 2.0 token response containing the access token and associated metadata for authenticating subsequent API requests.

Access ControlAuditAuthenticationComplianceEnterpriseIdentity ManagementPrivacySAMLSecuritySSO

Properties

Name Type Description
access_token string The bearer access token for authenticating API requests
token_type string The type of token issued
expires_in integer The lifetime of the access token in seconds
refresh_token string A non-expiring refresh token that can be used to obtain new access tokens without requiring re-authorization.
scope string Space-delimited list of scopes granted to the access token
View JSON Schema on GitHub

JSON Schema

workday-security-tokenresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TokenResponse",
  "title": "TokenResponse",
  "type": "object",
  "description": "OAuth 2.0 token response containing the access token and associated metadata for authenticating subsequent API requests.",
  "required": [
    "access_token",
    "token_type"
  ],
  "properties": {
    "access_token": {
      "type": "string",
      "description": "The bearer access token for authenticating API requests"
    },
    "token_type": {
      "type": "string",
      "enum": [
        "Bearer"
      ],
      "description": "The type of token issued"
    },
    "expires_in": {
      "type": "integer",
      "description": "The lifetime of the access token in seconds"
    },
    "refresh_token": {
      "type": "string",
      "description": "A non-expiring refresh token that can be used to obtain new access tokens without requiring re-authorization."
    },
    "scope": {
      "type": "string",
      "description": "Space-delimited list of scopes granted to the access token"
    }
  }
}