Skip to content

Kirby 4.1.0

$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): Kirby\Cms\Responder|bool

Parameters

Name Type Default
$usesAuth bool|null null

Return type

Kirby\Cms\Responder|bool

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