Skip to content

Kirby 4.4.1

$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