$request->auth() Returns the Auth object if authentication is set kirby/src/Http/Request.php#L150 $request->auth(): Kirby\Http\Request\Auth\BasicAuth|Kirby\Http\Request\Auth\BearerAuth|null Return type Kirby\Http\Request\Auth\BasicAuth|Kirby\Http\Request\Auth\BearerAuth|null Parent class Kirby\Http\Request