Moduleservant-auth-server-0.4.9.0Haskell2010
Servant.Auth.Server.Internal.Cookie
- 16 values
- Packageservant-auth-server-0.4.9.0
- Exports16
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceCookie.hs
Makes a cookie to be used for XSRF.
Deprecated. Use makeXsrfCookie instead
Alias for makeXsrfCookie.
Makes a cookie with session information.
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.
Arbitrary cookie expiry time set back in history after unix time 0
Adds headers to a response that clears all session cookies | using max-age and expires cookie attributes.
Deprecated. Use makeSessionCookie instead
Alias for makeSessionCookie.
Deprecated. Use makeSessionCookieBS instead
Alias for makeSessionCookieBS.