Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CSRFProtectionPlugin<ReqBody, ResParsed>

CSRFProtectionPlugin

This plugin updates the value of a CSRF token header with the current value of a CSRF token cookie no each request.

Type parameters

  • ReqBody

  • ResParsed

Hierarchy

  • CSRFProtectionPlugin

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

cookie

cookie: string

header

header: string

Methods

afterResponse

beforeRequest

Generated using TypeDoc