Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
TTL | |
|
data SessionStore m a where Source #
InsertCookie :: UserId -> Cookie () -> Maybe TTL -> SessionStore m () | |
LookupCookie :: UserId -> UTCTime -> CookieId -> SessionStore m (Maybe (Cookie ())) | |
ListCookies :: UserId -> SessionStore m [Cookie ()] | |
DeleteAllCookies :: UserId -> SessionStore m () | |
DeleteCookies :: UserId -> [Cookie ()] -> SessionStore m () |
deleteCookies :: forall r. Member SessionStore r => UserId -> [Cookie ()] -> Sem r () Source #
deleteAllCookies :: forall r. Member SessionStore r => UserId -> Sem r () Source #
listCookies :: forall r. Member SessionStore r => UserId -> Sem r [Cookie ()] Source #
lookupCookie :: forall r. Member SessionStore r => UserId -> UTCTime -> CookieId -> Sem r (Maybe (Cookie ())) Source #
insertCookie :: forall r. Member SessionStore r => UserId -> Cookie () -> Maybe TTL -> Sem r () Source #