Supabase.GoTrue.Schemas.InviteUserParams behaviour (supabase_gotrue v0.3.10)

This schema is used to validate and parse the parameters for inviting a new user.

Fields

  • data - The data for the link.
  • redirect_to - The redirect URL.

Summary

Types

@opaque changeset()
@type t() :: %Supabase.GoTrue.Schemas.InviteUserParams{
  data: map(),
  id: term(),
  redirect_to: URI.t()
}

Callbacks

Link to this callback

changeset(t, map)

(optional)
@callback changeset(t(), map()) :: changeset()
Link to this callback

parse(map)

(optional)
@callback parse(map()) :: {:ok, t()} | {:error, changeset()}

Functions