PhoenixKit.WebsiteAccess.Attempt (phoenix_kit v2.29.1)

Copy Markdown View Source

One try at the website password gate.

verdict says how it went: "correct", "case" (the right letters in the wrong case — caps lock), "close" (a few characters off — a typo), "unrelated", "empty", "locked" (refused unjudged: the address was locked out), "link" (let in by the access link). typed holds what was entered — everything by default, only a near miss (case/close) or nothing, as the "keep what was typed" setting says.

Summary

Functions

The verdicts an attempt can carry.

Types

t()

@type t() :: %PhoenixKit.WebsiteAccess.Attempt{
  __meta__: term(),
  address: String.t() | nil,
  inserted_at: NaiveDateTime.t() | nil,
  typed: String.t() | nil,
  user_agent: String.t() | nil,
  uuid: String.t() | nil,
  verdict: String.t()
}

Functions

verdicts()

The verdicts an attempt can carry.