SessionConfiguration
play.api.http.SessionConfiguration
case class SessionConfiguration(cookieName: String, secure: Boolean, maxAge: Option[FiniteDuration], httpOnly: Boolean, domain: Option[String], path: String, sameSite: Option[SameSite], partitioned: Boolean, jwt: JWTConfiguration)
The session configuration
Value parameters
- cookieName
-
The name of the cookie used to store the session
- domain
-
The domain to set for the session cookie, if defined
- httpOnly
-
Whether the HTTP only attribute of the cookie should be set
- jwt
-
The JWT specific information
- maxAge
-
The max age of the session, none, use "session" sessions
- partitioned
-
Whether the Partitioned attribute of the cookie should be set
- path
-
The path for which this cookie is valid
- sameSite
-
The cookie's SameSite attribute
- secure
-
Whether the session cookie should set the secure flag or not
Attributes
- Graph
-
- Supertypes
Members list
In this article