Supabase.GoTrue.User.Factor (supabase_gotrue v0.3.10)

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

Fields

  • friendly_name - The friendly name of the factor.
  • factor_type - The type of factor.
  • status - The status of the factor.
  • created_at - The creation date of the factor.
  • updated_at - The last update date of the factor.
  • id - The factor's ID.

Summary

Types

@type t() :: %Supabase.GoTrue.User.Factor{
  created_at: NaiveDateTime.t(),
  factor_type: :totp,
  friendly_name: String.t() | nil,
  id: Ecto.UUID.t(),
  status: :verified | :unverified,
  updated_at: NaiveDateTime.t()
}

Functions

Link to this function

changeset(factor \\ %__MODULE__{}, attrs)