ExTwilio v0.6.1 ExTwilio.JWT.AccessToken.ChatGrant View Source

A JWT grant to access a given Twilio chat service.

ExTwilio.JWT.AccessToken.ChatGrant.new(
  service_sid: "sid",
  endpoint_id: "123",
  deployment_role_sid: "sid",
  push_credential_sid: "sid"
)

Link to this section Summary

Functions

Create a new grant

Link to this section Types

Link to this type t() View Source
t() :: %ExTwilio.JWT.AccessToken.ChatGrant{
  deployment_role_sid: String.t(),
  endpoint_id: String.t(),
  push_credential_sid: String.t(),
  service_sid: String.t()
}

Link to this section Functions

Link to this function new(attrs \\ []) View Source
new(attrs :: Keyword.t()) :: t()

Create a new grant.