Type Alias: EdgeRoomAuthorize()
@roomful/relay / EdgeRoomAuthorize
Type Alias: EdgeRoomAuthorize()
Section titled “Type Alias: EdgeRoomAuthorize()”EdgeRoomAuthorize = (
peerId,roomId,token) =>void|boolean|Promise<void|boolean>
Defined in: packages/relay/src/edge-room.ts:34
Authorizes a join. Return false (or throw) to reject.
Parameters
Section titled “Parameters”peerId
Section titled “peerId”string
roomId
Section titled “roomId”string
string | undefined
Returns
Section titled “Returns”void | boolean | Promise<void | boolean>