$webauthn->removeCredential()
Removes a credential by id and returns the remaining list
$webauthn->removeCredential(array $credentials, string $id): list
Parameters
| Name | Type | Default |
|---|---|---|
| $credentialsrequired | array |
no default value |
| $idrequired | string |
no default value |
Return type
list<array>
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |