Apache OFBiz · JSON Structure

Apache Ofbiz Token Data Structure

JWT token data returned after successful authentication.

Type: object Properties: 4
ERPCRME-CommerceBusiness ApplicationsApacheJavaOpen SourceSupply Chain

TokenData is a JSON Structure definition published by Apache OFBiz, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

access_token token_type expires_in 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/apache-ofbiz/refs/heads/main/json-structure/apache-ofbiz-token-data-structure.json",
  "name": "TokenData",
  "description": "JWT token data returned after successful authentication.",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "JWT access token for Bearer authentication.",
      "example": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.example"
    },
    "token_type": {
      "type": "string",
      "description": "Token type, always Bearer.",
      "example": "Bearer"
    },
    "expires_in": {
      "type": "string",
      "description": "Token expiry duration in seconds.",
      "example": "1800"
    },
    "refresh_token": {
      "type": "string",
      "description": "Refresh token for obtaining new access tokens.",
      "example": "dGhpc19pc19hX3JlZnJlc2hfdG9rZW4"
    }
  }
}