$basicAuthMethod->user()
Returns the user resolved from the basic auth header
$basicAuthMethod->user(BasicAuth|null $auth = null): User|null
Parameters
| Name | Type | Default |
|---|---|---|
| $auth | Kirby\Http\Request\Auth\BasicAuthornull |
null
|
Return types
Kirby\Cms\Userornull