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