Pow v1.0.16 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{PowPersistentSession.Store.PersistentSessionCache, backend: Pow.Store.Backend.EtsCache}
. ThePow.Store.Backend.EtsCache
backend store can be changed with the:cache_store_backend
option.:cache_store_backend
- the backend cache store. This value defaults toPow.Store.Backend.EtsCache
.:persistent_session_ttl
- integer value in milliseconds for TTL of persistent session in the backend store. This defaults to 30 days in miliseconds.
Link to this section Summary
Link to this section Functions
Link to this section Callbacks
Link to this callback
authenticate(arg1, arg2)
View Sourceauthenticate(Plug.Conn.t(), Pow.Config.t()) :: Plug.Conn.t()
Link to this callback
create(arg1, map, arg3)
View Sourcecreate(Plug.Conn.t(), map(), Pow.Config.t()) :: Plug.Conn.t()