This page is for Browser SDK, version v3.
For other versions, use one of these documentation indexes:
- v4 (default): https://signalwire.com/docs/browser-sdk/v4/llms.txt
- v3: https://signalwire.com/docs/browser-sdk/v3/llms.txt
- v2: https://signalwire.com/docs/browser-sdk/v2/llms.txt
getAllowedChannels
- getAllowedChannels():
Promise<Object>
Returns the channels that the current token allows you to subscribe to.
Returns
Promise<Object>
An object whose keys are the channel names, and whose values are the permissions. For example:
Example