Phauxth v2.3.2 Phauxth.Confirm.Base behaviour 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

Link to this callback

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

Gets the user data from the database.