Polyjuice Util v0.2.1 Polyjuice.Util.Identifiers.V0.UserIdentifier View Source

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Polyjuice.Util.Identifiers.V0.UserIdentifier{
  domain: String.t(),
  localpart: String.t(),
  sigil: String.t()
}

Link to this section Functions

Link to this function

generate(domain)

View Source
generate(domain :: String.t()) :: t()
Link to this function

new(localpart, domain)

View Source
new(String.t(), String.t()) :: {:ok, t()} | {:error, atom()}