Inttegro.InitiateOTPRequest (inttegro v0.1.0)

Copy Markdown View Source

Typed Inttegro request parameters.

Summary

Types

t()

@type t() :: %Inttegro.InitiateOTPRequest{
  async_delivery: boolean() | nil,
  message_template: String.t() | nil,
  purpose: String.t() | nil,
  recipient: String.t(),
  sender: String.t() | nil,
  service_name: String.t(),
  token_alphabet: String.t() | nil,
  token_alphabet_type: Inttegro.OTPAlphabetType.t() | nil,
  token_size: integer(),
  validity_duration_in_minutes: integer() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

to_map(value)

@spec to_map(t()) :: map()