SameSite

object SameSite

String constant options for SameSite cookie attribute.

Properties

Link copied to clipboard
const val Lax: String

Default behavior. Also sends cookies when navigating to origin site.

Link copied to clipboard
const val None: String

Also sends cookies from cross-site requests. Requires Secure attribute to also be set.

Link copied to clipboard
const val Strict: String

Only sends cookies from the origin's site.