Wipes the current stored CSRF token. This should be used by client (frontend) code to logout a user or react to a session timeout.
Optional
Override the default CSRF token header name.
Allows mocking or overriding the global localStorage.
localStorage
globalThis.localStorage Copy
globalThis.localStorage
Wipes the current stored CSRF token. This should be used by client (frontend) code to logout a user or react to a session timeout.