Skip to content

Kirby 4.2.0

$request->auth()

Returns the Auth object if authentication is set

$request->auth(): Kirby\Http\Request\Auth|false|null

Return type

Kirby\Http\Request\Auth|false|null

Parent class

Kirby\Http\Request