HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Moduleservant-auth-server-0.4.10.0Haskell2010

Servant.Auth.Server.Internal.Cookie

  • 16 values
valueacceptLogin
  1. :: (AddHeader mods "Set-Cookie" SetCookie response withOneCookie, AddHeader mods "Set-Cookie" SetCookie withOneCookie withTwoCookies, ToJWT session)
  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