$responder->usesAuth()
Setter and getter for the flag that defines whether the current response uses the HTTP Authorization
request header
$responder->usesAuth(bool|null $usesAuth = null): bool|Kirby\Cms\Responder
Parameters
Name | Type | Default |
---|---|---|
$usesAuth | bool ornull |
null
|
Return types
bool
orKirby\Cms\Responder
This method modifies the existing $responder
object it is applied to and returns it again.