Skip to content

Kirby 5.0.1

$request->auth()

Returns the Auth object if authentication is set

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

Return types

Kirby\Http\Request\Authorfalseornull

Parent class

Kirby\Http\Request