Pow v0.1.0-alpha Pow.Phoenix.Messages behaviour View Source

Module that handles messages.

Usage

defmodule MyAppWeb.Pow.Messages do
  use Pow.Phoenix.Messages

  def signed_out(_conn), do: "Signed out successfullly."
end

Remember to add messages_backend: MyAppWeb.Pow.Messages to your configuration.

Link to this section Summary

Link to this section Functions

Link to this function invalid_credentials(conn) View Source
Link to this function user_could_not_be_deleted(conn) View Source
Link to this function user_has_been_created(conn) View Source
Link to this function user_has_been_deleted(conn) View Source
Link to this function user_has_been_updated(conn) View Source

Link to this section Callbacks

Link to this callback invalid_credentials(arg0) View Source
invalid_credentials(Conn.t()) :: binary()
Link to this callback signed_in(arg0) View Source
signed_in(Conn.t()) :: binary()
Link to this callback signed_out(arg0) View Source
signed_out(Conn.t()) :: binary()
Link to this callback user_could_not_be_deleted(arg0) View Source
user_could_not_be_deleted(Conn.t()) :: binary()
Link to this callback user_has_been_created(arg0) View Source
user_has_been_created(Conn.t()) :: binary()
Link to this callback user_has_been_deleted(arg0) View Source
user_has_been_deleted(Conn.t()) :: binary()
Link to this callback user_has_been_updated(arg0) View Source
user_has_been_updated(Conn.t()) :: binary()