Moduleservant-auth-server-0.4.10.0Haskell2010
Servant.Auth.Server.Internal.Cookie
Synopsis
- value cookieAuthCheck
- value xsrfCheckRequired
- value xsrfCookieAuthCheck
- value makeXsrfCookie
- value makeCsrfCookie
- value makeSessionCookie
- value noXsrfTokenCookie
- value applyCookieSettings
- value applyXsrfCookieSettings
- value applySessionCookieSettings
- value acceptLogin
- value expireTime
- value clearSession
- value makeSessionCookieBS
- value makeCookie
- value makeCookieBS
- Packageservant-auth-server-0.4.10.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.