Overview of Connections API for session management
The Connections API in Centrifugo PRO allows administrators to retrieve details about all active sessions without enabling the presence feature on channels. This is useful for managing active user sessions (e.g., in messenger apps) and troubleshooting system state. Key capabilities include:
- Retrieving active connections filtered by User ID or CEL expression.
- Accessing metadata attached to connections (set via JWT
metaclaim or connect proxy response) which remains hidden from the client. - Identifying connection details such as transport, protocol, and app name to facilitate disconnecting specific sessions via the Disconnect Server API.