authorize_channel
Generate authorization tokens for private or presence channels to authenticate Pusher client connections via your auth endpoint.
Instructions
Generate an authorization token for a private or presence channel. Useful when building auth endpoints for Pusher client connections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Private or presence channel name (must start with 'private-' or 'presence-') | |
| socketId | Yes | The socket ID from the client connection | |
| presenceData | No | Required for presence channels — identifies the connecting user |