Skip to content

Kirby 4.2.0

$auth->csrf()

Returns the csrf token if it exists and if it is valid

$auth->csrf(): string|false

Return type

string|false

Parent class

Kirby\Cms\Auth