$request->auth()
Returns the Auth object if authentication is set
$request->auth(): Kirby\Http\Request\Auth|false|null
Return types
Kirby\Http\Request\Auth
orfalse
ornull
This method modifies the existing $request
object it is applied to and returns it again.