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

A JWT grant to access a given Twilio voice service.

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"

)

Link to this section Summary

Functions

Create a new grant.

Link to this section Types

Specs

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()
}

Link to this section Functions

Specs

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

Create a new grant.