import { type Cookie } from "https://deno.land/x/netzo@0.5.65/deps/deno_kv_oauth/deps.ts";
Properties
The cookie's Expires
attribute, either as an explicit date or UTC milliseconds.
The cookie's Max-Age
attribute, in seconds. Must be a non-negative integer. A cookie with a maxAge
of 0
expires immediately.
The cookie's Domain
attribute. Specifies those hosts to which the cookie will be sent.
The cookie's Path
attribute. A cookie with a path will only be included in the Cookie
request header if the requested URL matches that path.
The cookie's Secure
attribute. If true
, the cookie will only be included in the Cookie
request header if the connection uses SSL and HTTPS.
The cookie's HTTPOnly
attribute. If true
, the cookie cannot be accessed via JavaScript.
Allows servers to assert that a cookie ought not to be sent along with cross-site requests.