Namespace

Namespace

Method

async static

authorizeMany(userId, params) → Promise containing ApiResponse

authorizes a user for user pusher channels

Parameters

Name Type Optional Description

userId

string

 

params

Object

 

Values in params have the following properties:

Name Type Optional Description

socketId

string

 

channelNames

Array of string

 

Returns

Promise containing ApiResponse