Package com.twilio.jwt.accesstoken
Class IpMessagingGrant
- java.lang.Object
-
- com.twilio.jwt.accesstoken.IpMessagingGrant
-
- All Implemented Interfaces:
Grant
@Deprecated public class IpMessagingGrant extends Object implements Grant
Deprecated.Grant used to access Twilio IP Messaging.For more information see: https://www.twilio.com/docs/api/rest/access-tokens
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
IpMessagingGrant.Payload
Deprecated.
-
Constructor Summary
Constructors Constructor Description IpMessagingGrant()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDeploymentRoleSid()
Deprecated.String
getEndpointId()
Deprecated.String
getGrantKey()
Deprecated.The key for the grant.Object
getPayload()
Deprecated.The payload for this grant.String
getPushCredentialSid()
Deprecated.String
getServiceSid()
Deprecated.IpMessagingGrant
setDeploymentRoleSid(String deploymentRoleSid)
Deprecated.IpMessagingGrant
setEndpointId(String endpointId)
Deprecated.IpMessagingGrant
setPushCredentialSid(String pushCredentialSid)
Deprecated.IpMessagingGrant
setServiceSid(String serviceSid)
Deprecated.
-
-
-
Method Detail
-
getServiceSid
public String getServiceSid()
Deprecated.
-
setServiceSid
public IpMessagingGrant setServiceSid(String serviceSid)
Deprecated.
-
getPushCredentialSid
public String getPushCredentialSid()
Deprecated.
-
setPushCredentialSid
public IpMessagingGrant setPushCredentialSid(String pushCredentialSid)
Deprecated.
-
getDeploymentRoleSid
public String getDeploymentRoleSid()
Deprecated.
-
setDeploymentRoleSid
public IpMessagingGrant setDeploymentRoleSid(String deploymentRoleSid)
Deprecated.
-
getEndpointId
public String getEndpointId()
Deprecated.
-
setEndpointId
public IpMessagingGrant setEndpointId(String endpointId)
Deprecated.
-
getGrantKey
public String getGrantKey()
Deprecated.Description copied from interface:Grant
The key for the grant.- Specified by:
getGrantKey
in interfaceGrant
- Returns:
- The key for the grant.
-
getPayload
public Object getPayload()
Deprecated.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 interfaceGrant
- Returns:
- The payload for this grant.
-
-