/home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Jwt/Grants
NameSizeModeActions
ChatGrant.php30620644editdlrm
Grant.php3290644editdlrm
PlaybackGrant.php10060644editdlrm
SyncGrant.php30650644editdlrm
TaskRouterGrant.php21640644editdlrm
VideoGrant.php10030644editdlrm
VoiceGrant.php41000644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Jwt/Grants/VideoGrant.php (1003B)
room; } /** * Set the room to allow access to in the grant * * @param string $roomSidOrName room sid or name * @return $this updated grant */ public function setRoom(string $roomSidOrName): self { $this->room = $roomSidOrName; return $this; } /** * Returns the grant type * * @return string type of the grant */ public function getGrantKey(): string { return 'video'; } /** * Returns the grant data * * @return array data of the grant */ public function getPayload(): array { $payload = []; if ($this->room) { $payload['room'] = $this->room; } return $payload; } }