SessionMiddlewareOptions
Overview
Usage
- Node
- Deno
import { SessionMiddlewareOptions } from 'keywork/middleware/classes'
import { SessionMiddlewareOptions } from 'https://deno.land/x/keywork/middleware/classes'
Properties
cookieKey
optional cookieKey: `string`
Default Value
DEFAULT_SESSION_COOKIE_KEY
Defined in
middleware/classes/SessionMiddleware.ts:46
serializeOptions
optional serializeOptions: `CookieSerializeOptions`
Default Value
DEFAULT_COOKIE_SERIALIZE_OPTIONS
Defined in
middleware/classes/SessionMiddleware.ts:52
The key used to read from the cookie header.