Skip to content

Kirby 6.0.0

$request->csrf()

Returns a CSRF token if stored in a header or the query

$request->csrf(): string|null

Return types

stringornull

Parent class

Kirby\Http\Request