跳转到内容
简体中文

CsrfCookieOptions

此内容尚不支持你的语言。

CsrfCookieOptions = object

Defined in: src/http/middleware/CsrfOptions.ts:11

Attributes for the CSRF cookie (a subset of the general cookie attributes).

readonly optional domain?: string

Defined in: src/http/middleware/CsrfOptions.ts:15


readonly optional maxAgeSeconds?: number

Defined in: src/http/middleware/CsrfOptions.ts:16


readonly optional path?: string

Defined in: src/http/middleware/CsrfOptions.ts:12


readonly optional sameSite?: "strict" | "lax" | "none"

Defined in: src/http/middleware/CsrfOptions.ts:14


readonly optional secure?: boolean

Defined in: src/http/middleware/CsrfOptions.ts:13