public class ChatGrant extends Object implements Grant
For more information see: https://www.twilio.com/docs/api/rest/access-tokens
Modifier and Type | Class and Description |
---|---|
class |
ChatGrant.Payload |
Constructor and Description |
---|
ChatGrant() |
Modifier and Type | Method and Description |
---|---|
String |
getDeploymentRoleSid() |
String |
getEndpointId() |
String |
getGrantKey()
The key for the grant.
|
Object |
getPayload()
The payload for this grant.
|
String |
getPushCredentialSid() |
String |
getServiceSid() |
ChatGrant |
setDeploymentRoleSid(String deploymentRoleSid) |
ChatGrant |
setEndpointId(String endpointId) |
ChatGrant |
setPushCredentialSid(String pushCredentialSid) |
ChatGrant |
setServiceSid(String serviceSid) |
public String getServiceSid()
public String getPushCredentialSid()
public String getDeploymentRoleSid()
public String getEndpointId()
public String getGrantKey()
Grant
getGrantKey
in interface Grant
public Object getPayload()
Grant
The payload allows us to decouple the user API from how the grant is structured.
getPayload
in interface Grant
Copyright © 2019 Twilio, Inc. All Rights Reserved.