Ably · Schema

TokenDetails

RealtimeWebSocketsPub/SubMessagingStreamingPush NotificationsChatLiveSync

Properties

Name Type Description
token string The Ably Token.
keyName string Name of the key used to create the token
issued integer Timestamp of token creation.
expires integer Timestamp of token expiration.
capability string Regular expression representation of the capabilities of the token.
View JSON Schema on GitHub

JSON Schema

ably-tokendetails-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TokenDetails",
  "title": "TokenDetails",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "The Ably Token."
    },
    "keyName": {
      "type": "string",
      "description": "Name of the key used to create the token"
    },
    "issued": {
      "type": "integer",
      "description": "Timestamp of token creation."
    },
    "expires": {
      "type": "integer",
      "description": "Timestamp of token expiration."
    },
    "capability": {
      "type": "string",
      "description": "Regular expression representation of the capabilities of the token."
    }
  }
}