Skip to content

Kirby 6.0.0

BasicAuthMethod::isAttempted()

Checks whether the current request attempts to use HTTP basic authentication, regardless of whether all gating conditions are met.

BasicAuthMethod::isAttempted(Auth $auth): bool

Parameters

Name Type Default
$authrequired Kirby\Auth\Auth no default value

Return type

bool

Parent class

Kirby\Auth\Method\BasicAuthMethod