Pow v1.0.0-rc.1 PowPersistentSession.Plug.Base behaviour View Source
Base module for setting up persistent session plugs.
See PowPersistentSession.Plug.Cookie
for an implementation example.
Configuration options
:persistent_session_store
- the persistent session store. This value defaults to{PersistentSessionCache, backend: EtsCache}
. TheEtsCache
backend store can be changed with the:cache_store_backend
option.:cache_store_backend
- the backend cache store. This value defaults toEtsCache
.
Link to this section Summary
Link to this section Functions
Link to this section Callbacks
Link to this callback
authenticate(arg0, arg1)
View Source
authenticate(Plug.Conn.t(), Pow.Config.t()) :: Plug.Conn.t()
Link to this callback
create(arg0, map, arg2)
View Source
create(Plug.Conn.t(), map(), Pow.Config.t()) :: Plug.Conn.t()