Skip to content

Kirby 4.5.0

$request->hasAuth()

Returns whether the request contains the Authorization header

$request->hasAuth(): bool

Return type

bool

Parent class

Kirby\Http\Request