$challenge->attempt()
Verifies the input and invalidates a single-use nonce on failure
$challenge->attempt(mixed $input, Pending $pending, Closure $invalidate): void
Parameters
| Name | Type | Default |
|---|---|---|
| $inputrequired | mixed |
no default value |
| $pendingrequired | Kirby\Auth\Pending |
no default value |
| $invalidaterequired | Closure |
no default value |
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\PermissionException |
If the input could not be verified |