$webauthn->verifyLogin()
Verifies a login and updates the matching credential's signature counter
$webauthn->verifyLogin(array $credentials, mixed $payload, string|null $challenge): array{credentials: array, counter: int|null}
Parameters
| Name | Type | Default |
|---|---|---|
| $credentialsrequired | array |
no default value |
| $payloadrequired | mixed |
no default value |
| $challenge | stringornull |
no default value |
Return type
array{credentials: array, counter: int|null}
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |