Skip to content

Kirby 5.0.4

$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.

Parent class

Kirby\Cms\Responder