yesod-session-persist-0.0.0.2: SQL session backend for Yesod
Safe HaskellSafe-Inferred
LanguageGHC2021

Yesod.Session.Persist.Yesod

Contents

Synopsis

Concretely

makeSessionBackend :: forall persistentBackend persistentRecord. SessionConfiguration persistentBackend persistentRecord -> IO SessionBackend Source #

Use this to implement makeSessionBackend.

The session type parameter represents the Persistent entity you're using to store sessions (see the SessionPersistence field of the configuration).

data SessionConfiguration persistentBackend persistentRecord Source #

Constructors

SessionConfiguration 

Fields