$webauthn->addRootCertificates()
add a root certificate to verify new registrations
$webauthn->addRootCertificates(string $path, array|null $certFileExtensions = null)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $pathrequired | string |
no default value | file path of / directory with root certificates |
| $certFileExtensions | arrayornull |
null
|
if adding a direction, all files with provided extension are added. default: pem, crt, cer, der |
Parent class
Kirby\Auth\Service\Webauthn
inherited from lbuchs\WebAuthn\WebAuthn