import { type SecureCookieMapOptions } from "https://dotland.deno.dev/x/oak_commons@1.0.0/cookie_map.ts";
Options which can be set when initializing a {@link SecureCookieMap
}.
Properties
Keys which will be used to validate and sign cookies. The key ring should
implement the {@link KeyRing
} interface.
The {@link Response
} or the headers that will be used with the
response. When provided, Set-Cookie
headers will be set in the headers
when cookies are set or deleted in the map.
An alternative way to extract the headers is to pass the cookie map to the
{@link mergeHeaders
} function to merge various sources of the
headers to be provided when creating or updating a response.