NAME
Twilio::Jwt::Grants::PlaybackGrant - Lets a client play a live stream
SYNOPSIS
my $grant = Twilio::Jwt::Grants::PlaybackGrant->new;
$grant->set_grant(\%playback_grant);
$token->add_grant($grant);
DESCRIPTION
See Twilio::Jwt::AccessToken. The hash reference comes from Twilio, and goes into the token as it is.
METHODS
get_grant_key
Returns player.
get_payload
Returns what the grant adds to the token.
get_grant
set_grant
Read and change the value. set_grant returns the grant.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.