Skip to content

Kirby 4.2.0

$request->csrf()

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

$request->csrf(): string|null

Return type

string|null

Parent class

Kirby\Http\Request