Skip to content

Kirby 6.0.0

$auth->csrf()

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

$auth->csrf(): string|false

Return types

stringorfalse

Parent class

Kirby\Auth\Auth