Component evidence

accesstoken/PlaybackGrant.java

twilio-java · src/main/java/com/twilio/jwt/accesstoken/PlaybackGrant.java · java · MIT
voiceVoice / Speech

Java class representing a Twilio Live playback grant for JWT access tokens.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/twilio/twilio-java | License: MIT | Copyright 2023, Twilio, Inc. <https://www.twilio.com/help/contact>
// Provided via justclaw.it.com; keep this notice with the code.
package com.twilio.jwt.accesstoken;

import java.util.Map;

/**
 * Grant used to access Twilio Live.
 *
 * <p>
 *     For more information see:
 *     <a href="https://www.twilio.com/docs/api/rest/access-tokens">
 *         https://www.twilio.com/docs/api/rest/access-tokens
 *     </a>
 * </p>
 */
public class PlaybackGrant implements Grant {

    private Map<String, Object> grant;

    /**
     * Get the grant payload configured in this grant.
     * @return The grant payload or null if not set.
     */
    public Map<String, Object> getGrant() {
        return this.grant;
    }

    /**
     *

... (truncated -- full source via MCP)