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

This schema is used to validate and parse the identity of a user.

Fields

  • id - The user's ID.
  • user_id - The user's ID.
  • provider - The user's provider.
  • created_at - The user's creation date.
  • updated_at - The user's last update date.
  • identity_data - The user's identity data.
  • last_sign_in_at - The user's last sign-in date.

Summary

Types

@type providers() ::
  :apple
  | :azure
  | :bitbucket
  | :discord
  | :email
  | :facebook
  | :figma
  | :github
  | :gitlab
  | :google
  | :kakao
  | :keycloak
  | :linkedin
  | :linkedin_oidc
  | :notion
  | :phone
  | :slack
  | :spotify
  | :twitch
  | :twitter
  | :workos
  | :zoom
  | :fly
@type t() :: %Supabase.GoTrue.User.Identity{
  created_at: NaiveDateTime.t(),
  id: Ecto.UUID.t(),
  identity_data: map(),
  last_sign_in_at: NaiveDateTime.t() | nil,
  provider: providers(),
  updated_at: NaiveDateTime.t(),
  user: term(),
  user_id: Ecto.UUID.t()
}

Functions

Link to this function

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