Aller au contenu
Français

readCsrfToken

Ce contenu n’est pas encore disponible dans votre langue.

readCsrfToken(request, options?): string | null

Defined in: src/http/middleware/Csrf.ts:109

Read the CSRF token an SSR handler should template into its form/meta — the forwarded request header first (present from the very first GET), then the cookie.

HttpRequest

string

string

string | null