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