CsrfCookieOptions
CsrfCookieOptions =
object
Defined in: src/http/middleware/CsrfOptions.ts:11
Attributes for the CSRF cookie (a subset of the general cookie attributes).
Properties
Section titled “Properties”domain?
Section titled “domain?”
readonlyoptionaldomain?:string
Defined in: src/http/middleware/CsrfOptions.ts:15
maxAgeSeconds?
Section titled “maxAgeSeconds?”
readonlyoptionalmaxAgeSeconds?:number
Defined in: src/http/middleware/CsrfOptions.ts:16
readonlyoptionalpath?:string
Defined in: src/http/middleware/CsrfOptions.ts:12
sameSite?
Section titled “sameSite?”
readonlyoptionalsameSite?:"strict"|"lax"|"none"
Defined in: src/http/middleware/CsrfOptions.ts:14
secure?
Section titled “secure?”
readonlyoptionalsecure?:boolean
Defined in: src/http/middleware/CsrfOptions.ts:13
