Phauxth v0.8.2 Phauxth.Remember

Remember me Plug using Phoenix Token.

Options

There are two options:

  • context - the context to use when using Phoenix token

    • in most cases, this will be the name of the endpoint you are using
    • see the documentation for Phoenix.Token for more information
  • max_age - the length of the validity of the token

    • the default is one week

Summary

Functions

Set the current_user variable

Functions

set_user(user, conn)

Set the current_user variable.