CookieSourceScheme

@Serializable(with = CookieSourceSchemeSerializer::class)
sealed interface CookieSourceScheme

Represents the source scheme of the origin that originally set the cookie. A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme. This is a temporary ability and it will be removed in the future.

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = CookieSourceSchemeSerializer::class)
data object NonSecure : CookieSourceScheme
Link copied to clipboard
@Serializable(with = CookieSourceSchemeSerializer::class)
data class NotDefinedInProtocol(val value: String) : CookieSourceScheme

This extra enum entry represents values returned by Chrome that were not defined in the protocol (for instance new values that were added later).

Link copied to clipboard
@Serializable(with = CookieSourceSchemeSerializer::class)
data object Secure : CookieSourceScheme
Link copied to clipboard
@Serializable(with = CookieSourceSchemeSerializer::class)
data object Unset : CookieSourceScheme