View Source Appwrite.Types.User (appwrite v0.1.8)

Represents a user, including details such as preferences, verification status, and associated targets.

Fields

  • id (String.t): User ID.
  • created_at (String.t): Creation date in ISO 8601 format.
  • updated_at (String.t): Update date in ISO 8601 format.
  • name (String.t): User name.
  • password (String.t | nil): Hashed user password.

  • hash (String.t | nil): Password hashing algorithm.

  • hash_options (map | nil): Password hashing algorithm configuration.

  • registration (String.t): User registration date in ISO 8601 format.
  • status (boolean): User status. true for enabled, false for disabled.
  • labels ([String.t]): Labels associated with the user.
  • password_update (String.t): Password update time in ISO 8601 format.
  • email (String.t): User email address.
  • phone (String.t): User phone number in E.164 format.
  • email_verification (boolean): Email verification status.
  • phone_verification (boolean): Phone verification status.
  • mfa (boolean): Multi-factor authentication status.
  • prefs (map): User preferences as a key-value object.
  • targets ([Appwrite.Types.Target.t]): List of user-owned message receivers.
  • accessed_at (String.t): Most recent access date in ISO 8601 format.

Summary

Types

t()

@type t() :: %Appwrite.Types.User{
  accessed_at: String.t(),
  created_at: String.t(),
  email: String.t(),
  email_verification: boolean(),
  hash: String.t() | nil,
  hash_options: map() | nil,
  id: String.t(),
  labels: [String.t()],
  mfa: boolean(),
  name: String.t(),
  password: String.t() | nil,
  password_update: String.t(),
  phone: String.t(),
  phone_verification: boolean(),
  prefs: Appwrite.Types.Preference,
  registration: String.t(),
  status: boolean(),
  targets: [Appwrite.Types.Target.t()],
  updated_at: String.t()
}