Apache Shiro · Schema

TokenResponse

JWT or token-based authentication response

AuthenticationAuthorizationCryptographyJavaSecurityApacheOpen Source

Properties

Name Type Description
token string Authentication token
tokenType string Token type (e.g. Bearer)
expiresIn integer Token expiry in seconds
principal string Authenticated principal
View JSON Schema on GitHub

JSON Schema

apache-shiro-token-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-shiro/refs/heads/main/json-schema/apache-shiro-token-response-schema.json",
  "title": "TokenResponse",
  "description": "JWT or token-based authentication response",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "Authentication token"
    },
    "tokenType": {
      "type": "string",
      "description": "Token type (e.g. Bearer)"
    },
    "expiresIn": {
      "type": "integer",
      "description": "Token expiry in seconds"
    },
    "principal": {
      "type": "string",
      "description": "Authenticated principal"
    }
  }
}