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], 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

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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product