SameSite class final
Cookie cross-site availability configuration.
The value of Cookie.sameSite, which defines whether an HTTP cookie is available from other sites or not.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- lax → const SameSite
- Default value, cookie with this value will generally not be sent on cross-site requests, unless the user is navigated to the original site.
- none → const SameSite
- Cookie with this value will be sent in all requests.
- strict → const SameSite
- Cookie with this value will never be sent on cross-site requests.
-
values
→ const List<
SameSite>