Skip to content

Kirby 4.4.1

$request->hasAuth()

Returns whether the request contains the Authorization header

$request->hasAuth(): bool

Return type

bool

Parent class

Kirby\Http\Request