View Source Plausible.Auth.User (Plausible v0.0.1)

Summary

Types

@type t() :: %Plausible.Auth.User{
  __meta__: term(),
  accept_traffic_until: term(),
  allow_next_upgrade_override: term(),
  api_keys: term(),
  email: term(),
  email_verified: term(),
  enterprise_plan: term(),
  google_auth: term(),
  grace_period: term(),
  id: term(),
  inserted_at: term(),
  last_seen: term(),
  name: term(),
  password: term(),
  password_confirmation: term(),
  password_hash: term(),
  previous_email: term(),
  site_memberships: term(),
  sites: term(),
  subscription: term(),
  theme: term(),
  totp_enabled: term(),
  totp_last_used_at: term(),
  totp_secret: term(),
  totp_token: term(),
  trial_expiry_date: term(),
  updated_at: term()
}

Functions

Link to this function

cancel_email_changeset(user)

View Source
Link to this function

changeset(user, attrs \\ %{})

View Source
Link to this function

email_changeset(user, attrs \\ %{})

View Source
Link to this function

hash_password(changeset)

View Source
Link to this function

password_strength(changeset)

View Source
Link to this function

remove_trial_expiry(user)

View Source
Link to this function

set_password(user, password)

View Source
Link to this function

settings_changeset(user, attrs \\ %{})

View Source
Link to this function

subscription_accept_traffic_until_offset_days()

View Source
Link to this function

trial_accept_traffic_until_offset_days()

View Source