Class ChatGrant

    • Constructor Detail

      • ChatGrant

        public ChatGrant()
    • Method Detail

      • getServiceSid

        public String getServiceSid()
      • getPushCredentialSid

        public String getPushCredentialSid()
      • setPushCredentialSid

        public ChatGrant setPushCredentialSid​(String pushCredentialSid)
      • getDeploymentRoleSid

        public String getDeploymentRoleSid()
      • setDeploymentRoleSid

        public ChatGrant setDeploymentRoleSid​(String deploymentRoleSid)
      • getEndpointId

        public String getEndpointId()
      • getGrantKey

        public String getGrantKey()
        Description copied from interface: Grant
        The key for the grant.
        Specified by:
        getGrantKey in interface Grant
        Returns:
        The key for the grant.
      • getPayload

        public Object getPayload()
        Description copied from interface: Grant
        The payload for this grant.

        The payload allows us to decouple the user API from how the grant is structured.

        Specified by:
        getPayload in interface Grant
        Returns:
        The payload for this grant.