HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleservant-auth-server-0.4.9.0Haskell2010

Servant.Auth.Server.Internal.Cookie

  • 16 values
valueacceptLogin
  1. :: (ToJWT session, AddHeader mods "Set-Cookie" SetCookie response withOneCookie, AddHeader mods "Set-Cookie" SetCookie withOneCookie withTwoCookies)
  2. => CookieSettings
  3. -> JWTSettings
  4. -> session
  5. -> IO (Maybe (response -> withTwoCookies))
#

For a JWT-serializable session, returns a function that decorates a provided response object with XSRF and session cookies. This should be used when a user successfully authenticates with credentials.

valueexpireTime :: UTCTime
#

Arbitrary cookie expiry time set back in history after unix time 0