Skip to content

Kirby 4.2.0

$request->hasAuth()

Returns whether the request contains the Authorization header

$request->hasAuth(): bool

Return type

bool

Parent class

Kirby\Http\Request