View Source ExTwilio.JWT.AccessToken.VoiceGrant (ExTwilio v0.10.0)

A JWT grant to access a given Twilio voice service.

Examples

ExTwilio.JWT.AccessToken.VoiceGrant.new(
  outgoing_application_sid: "application_sid",
  outgoing_application: %{"key" => "value"},
  incoming_allow: true,
  push_credential_sid: "push_credential_sid",
  endpoint_id: "endpoint_id"
)

Summary

Functions

Create a new grant.

Types

@type t() :: %ExTwilio.JWT.AccessToken.VoiceGrant{
  endpoint_id: String.t(),
  incoming_allow: boolean(),
  outgoing_application_params: String.t(),
  outgoing_application_sid: String.t(),
  push_credential_sid: String.t()
}

Functions

@spec new(attrs :: Keyword.t()) :: t()

Create a new grant.