Used in client (frontend) code to retrieve the current CSRF token in order to send it with requests to the host (backend).
Optional
Override the default CSRF token header name.
Allows mocking or overriding the global localStorage.
localStorage
globalThis.localStorage Copy
globalThis.localStorage
Used in client (frontend) code to retrieve the current CSRF token in order to send it with requests to the host (backend).