Realtime
Generated from openapi.json (API version 0.54.3). 1 endpoint. See the API overview for the base URL and how to sign requests.
Pusher Authentication
Section titled “Pusher Authentication”POST /pusher/auth
Needs read:pusher.
Authenticate a user to a private channel
Args: request (Request): The request object tenant_id (str, optional): The tenant ID. Defaults to Depends(verify_bearer_token). pusher_client (Pusher, optional): Pusher client. Defaults to Depends(get_pusher_client).
Raises: HTTPException: 403 if the user is not allowed to access the channel.
Returns: dict: The authentication response.
Body (application/x-www-form-urlencoded, required): Body_pusher_authentication_pusher_auth_post
| Field | Type | Required | Description |
|---|---|---|---|
channel_name |
object | yes | |
socket_id |
object | yes |
Responses
200Successful Response: object