$webauthn->getGetArgs()
generates the object for key validation Provide this data to navigator.credentials.get
$webauthn->getGetArgs(array $credentialIds = [], int $timeout = 20, bool $allowUsb = true, bool $allowNfc = true, bool $allowBle = true, bool $allowHybrid = true, bool $allowInternal = true, bool|string $requireUserVerification = false): stdClass
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $credentialIds | array |
[]
|
binary |
| $timeout | int |
20
|
timeout in seconds |
| $allowUsb | bool |
true
|
allow removable USB |
| $allowNfc | bool |
true
|
allow Near Field Communication (NFC) |
| $allowBle | bool |
true
|
allow Bluetooth |
| $allowHybrid | bool |
true
|
allow a combination of (often separate) data-transport and proximity mechanisms. |
| $allowInternal | bool |
true
|
allow client device-specific transport. These authenticators are not removable from the client device. |
| $requireUserVerification | boolorstring |
false
|
indicates that you require user verification and will fail the operation if the response does not have the UV flag set. Valid values: true = required false = preferred string 'required' 'preferred' 'discouraged' |
Return type
stdClass
Parent class
Kirby\Auth\Service\Webauthn
inherited from lbuchs\WebAuthn\WebAuthn