variable CSRF_SESSION_KEY
Since 0.2.0

Reserved session key holding the CSRF token.

Namespaced so it cannot collide with application data, and exported so an application clearing selected keys knows to leave it alone.

Type

"__csrf"

Usage

import { CSRF_SESSION_KEY } from "session-plugin/src/index.ts";