Skip to main content

SessionMiddlewareOptions

Overview

Usage

import { SessionMiddlewareOptions } from 'keywork/middleware/classes'

Properties

cookieKey

optional cookieKey: `string`

The key used to read from the cookie header.

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