Supabase.GoTrue.Schemas.SignUpWithPassword (supabase_gotrue v0.4.1)

This schema is used to validate and parse the parameters for signing up with a password.

Summary

Types

options()

@type options() :: %Supabase.GoTrue.Schemas.SignUpWithPassword.Options{
  captcha_token: String.t() | nil,
  data: map() | nil,
  email_redirect_to: URI.t() | nil
}

t()

@type t() :: %Supabase.GoTrue.Schemas.SignUpWithPassword{
  email: String.t() | nil,
  options: [options()] | nil,
  password: String.t(),
  phone: String.t() | nil
}

Functions

parse(attrs)

@spec parse(map()) :: {:ok, t()} | {:error, Ecto.Changeset.t()}

to_sign_up_params(signup)

to_sign_up_params(signup, code_challenge, code_method)

validate(attrs)

@spec validate(map()) :: Ecto.Changeset.t()