CookieXSRFStrategy

CookieXSRFStrategy

Experimental Class

Class Overview

class CookieXSRFStrategy implements XSRFStrategy {
  constructor(_cookieName?: string, _headerName?: string)
  
  
  configureRequest(req: Request) : void
}

Class Description

XSRFConfiguration sets up Cross Site Request Forgery (XSRF) protection for the application using a cookie. See https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF) for more information on XSRF.

Applications can configure custom cookie and header names b