Pow v1.0.16 Pow.Phoenix.Messages behaviour View Source
Module that handles messages.
Usage
defmodule MyAppWeb.Pow.Messages do
use Pow.Phoenix.Messages
import MyAppWeb.Gettext
def signed_out(_conn), do: gettext("Signed out successfullly.")
end
Remember to add messages_backend: MyAppWeb.Pow.Messages
to your
configuration.
Link to this section Summary
Functions
Message for when user couldn't be signed in.
Message for when user has signed in.
Message for when user has signed out.
Message for when user is already authenticated.
Message for when account could not be deleted.
Message for when user has signed up successfully.
Message for when user has deleted their account successfully.
Message for when user has updated their account successfully.
Message for when user is not authenticated.
Link to this section Types
Link to this section Functions
Message for when user couldn't be signed in.
Message for when user has signed in.
Defaults to nil.
Message for when user has signed out.
Defaults to nil.
Message for when user is already authenticated.
Defaults to nil.
Message for when account could not be deleted.
Message for when user has signed up successfully.
Defaults to nil.
Message for when user has deleted their account successfully.
Message for when user has updated their account successfully.
Message for when user is not authenticated.
Defaults to nil.
Link to this section Callbacks
invalid_credentials(arg1)
View Sourceinvalid_credentials(Plug.Conn.t()) :: message()
user_already_authenticated(arg1)
View Sourceuser_already_authenticated(Plug.Conn.t()) :: message()
user_could_not_be_deleted(arg1)
View Sourceuser_could_not_be_deleted(Plug.Conn.t()) :: message()
user_has_been_created(arg1)
View Sourceuser_has_been_created(Plug.Conn.t()) :: message()
user_has_been_deleted(arg1)
View Sourceuser_has_been_deleted(Plug.Conn.t()) :: message()
user_has_been_updated(arg1)
View Sourceuser_has_been_updated(Plug.Conn.t()) :: message()
user_not_authenticated(arg1)
View Sourceuser_not_authenticated(Plug.Conn.t()) :: message()