Skip to content

Kirby 6.0.0

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

Parameters

Name Type Default
$usesAuth boolornull null

Return types

boolorKirby\Cms\Responder

This method does not modify the existing $responder object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Responder