Packages

c

play.api.http

FlashConfiguration

case class FlashConfiguration(cookieName: String = "PLAY_FLASH", secure: Boolean = false, httpOnly: Boolean = true, domain: Option[String] = None, path: String = "/", sameSite: Option[SameSite] = Some(SameSite.Lax), jwt: JWTConfiguration = JWTConfiguration()) extends Product with Serializable

The flash configuration

cookieName

The name of the cookie used to store the session

secure

Whether the flash cookie should set the secure flag or not

httpOnly

Whether the HTTP only attribute of the cookie should be set

domain

The domain to set for the session cookie, if defined

path

The path for which this cookie is valid

sameSite

The cookie's SameSite attribute

jwt

The JWT specific information

Source
HttpConfiguration.scala
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FlashConfiguration
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FlashConfiguration(cookieName: String = "PLAY_FLASH", secure: Boolean = false, httpOnly: Boolean = true, domain: Option[String] = None, path: String = "/", sameSite: Option[SameSite] = Some(SameSite.Lax), jwt: JWTConfiguration = JWTConfiguration())

    cookieName

    The name of the cookie used to store the session

    secure

    Whether the flash cookie should set the secure flag or not

    httpOnly

    Whether the HTTP only attribute of the cookie should be set

    domain

    The domain to set for the session cookie, if defined

    path

    The path for which this cookie is valid

    sameSite

    The cookie's SameSite attribute

    jwt

    The JWT specific information

Value Members

  1. val cookieName: String
  2. val domain: Option[String]
  3. val httpOnly: Boolean
  4. val jwt: JWTConfiguration
  5. val path: String
  6. def productElementNames: Iterator[String]
    Definition Classes
    Product
  7. val sameSite: Option[SameSite]
  8. val secure: Boolean