Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Yesod.Session.Manager
Synopsis
- data SessionManager tx m = SessionManager {
- keyManager :: SessionKeyManager tx
- storage :: forall a. StorageOperation a -> tx a
- options :: Options tx m
- runTransaction :: forall a. tx a -> m a
- sessionKeyAppearsReasonable :: SessionManager tx m -> SessionKey -> Bool
- checkedSessionKeyFromCookieValue :: SessionManager tx m -> ByteString -> Maybe SessionKey
- newSessionKey :: SessionManager tx m -> m SessionKey
Documentation
data SessionManager tx m Source #
Server-wide state for the session mechanism
Constructors
SessionManager | |
Fields
|
sessionKeyAppearsReasonable :: SessionManager tx m -> SessionKey -> Bool Source #
checkedSessionKeyFromCookieValue :: SessionManager tx m -> ByteString -> Maybe SessionKey Source #
newSessionKey :: SessionManager tx m -> m SessionKey Source #