case class CookieAuthenticatorSettings(cookieName: String = "id", cookiePath: String = "/", cookieDomain: Option[String] = None, secureCookie: Boolean = true, httpOnlyCookie: Boolean = true, sameSite: Option[SameSite] = Some(Cookie.SameSite.Lax), useFingerprinting: Boolean = true, cookieMaxAge: Option[FiniteDuration] = None, authenticatorIdleTimeout: Option[FiniteDuration] = None, authenticatorExpiry: FiniteDuration = 12.hours) extends Product with Serializable
The settings for the cookie authenticator.
- cookieName
The cookie name.
- cookiePath
The cookie path.
- cookieDomain
The cookie domain.
- secureCookie
Whether this cookie is secured, sent only for HTTPS requests.
- httpOnlyCookie
Whether this cookie is HTTP only, i.e. not accessible from client-side JavaScript code.
- sameSite
The SameSite attribute for this cookie (for CSRF protection).
- useFingerprinting
Indicates if a fingerprint of the user should be stored in the authenticator.
- cookieMaxAge
The duration a cookie expires.
Nonefor a transient cookie.- authenticatorIdleTimeout
The duration an authenticator can be idle before it timed out.
- authenticatorExpiry
The duration an authenticator expires after it was created.
- Alphabetic
- By Inheritance
- CookieAuthenticatorSettings
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CookieAuthenticatorSettings(cookieName: String = "id", cookiePath: String = "/", cookieDomain: Option[String] = None, secureCookie: Boolean = true, httpOnlyCookie: Boolean = true, sameSite: Option[SameSite] = Some(Cookie.SameSite.Lax), useFingerprinting: Boolean = true, cookieMaxAge: Option[FiniteDuration] = None, authenticatorIdleTimeout: Option[FiniteDuration] = None, authenticatorExpiry: FiniteDuration = 12.hours)
- cookieName
The cookie name.
- cookiePath
The cookie path.
- cookieDomain
The cookie domain.
- secureCookie
Whether this cookie is secured, sent only for HTTPS requests.
- httpOnlyCookie
Whether this cookie is HTTP only, i.e. not accessible from client-side JavaScript code.
- sameSite
The SameSite attribute for this cookie (for CSRF protection).
- useFingerprinting
Indicates if a fingerprint of the user should be stored in the authenticator.
- cookieMaxAge
The duration a cookie expires.
Nonefor a transient cookie.- authenticatorIdleTimeout
The duration an authenticator can be idle before it timed out.
- authenticatorExpiry
The duration an authenticator expires after it was created.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val authenticatorExpiry: FiniteDuration
- val authenticatorIdleTimeout: Option[FiniteDuration]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val cookieDomain: Option[String]
- val cookieMaxAge: Option[FiniteDuration]
- val cookieName: String
- val cookiePath: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val httpOnlyCookie: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sameSite: Option[SameSite]
- val secureCookie: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val useFingerprinting: Boolean
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)