NAME
Twilio::Jwt::Grants::SyncGrant - Lets a client use Twilio Sync
SYNOPSIS
my $grant = Twilio::Jwt::Grants::SyncGrant->new;
$grant->set_service_sid($service_sid);
$token->add_grant($grant);
DESCRIPTION
See Twilio::Jwt::AccessToken. Each set_ method returns the grant.
METHODS
get_grant_key
Returns data_sync.
payload_fields
Returns the fields of the grant.
get_service_sid
set_service_sid
get_endpoint_id
set_endpoint_id
get_deployment_role_sid
set_deployment_role_sid
get_push_credential_sid
set_push_credential_sid
Read and change each value.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.