$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 | boolornull |
null
|
Return types
boolorKirby\Cms\Responder
This method modifies the existing $responder object it is applied to and returns it again.