Http4sCacheSessionStore
org.pac4j.http4s.Http4sCacheSessionStore
class Http4sCacheSessionStore[F[_]](maxAge: Option[Int], domain: Option[String], path: Option[String], secure: Boolean, httpOnly: Boolean, sameSite: Option[SameSite])(implicit evidence$1: Sync[F]) extends SessionStore
Http4sCacheSessionStore is an in memory session implementation.
The cookie will just contain an id and the session data is kept server side in cache
.
Note that as cache
is a simple Map, if multiple web servers are running sticky sessions will be required for this to work.
Value parameters
- domain
-
Domain
cookie attribute - httpOnly
-
HttpOnly
cookie attribute - maxAge
-
Max-Age
cookie attribute - path
-
Path
cookie attribute - secure
-
Secure
cookie attribute
Attributes
- Deprecated
-
[Since version 4.4.0]
- Graph
-
- Supertypes
-
trait SessionStoreclass Objecttrait Matchableclass Any
Members list
In this article