Phauxth.Confirm.Base behaviour (Phauxth v2.5.1) View Source

Base module for handling user confirmation.

This is used by Phauxth.Confirm and Phauxth.Confirm.PassReset, and it can also be used to create custom user confirmation modules.

Link to this section Summary

Callbacks

Gets the user data from the database.

Link to this section Callbacks

Specs

get_user({:ok, map()} | {:error, String.t() | atom()}, module()) ::
  {:ok, map()} | {:error, String.t() | atom()}

Gets the user data from the database.