Skip to content

Kirby 6.0.0

$webauthn->processGet()

process a get request

$webauthn->processGet(string $clientDataJSON, string $authenticatorData, string $signature, string $credentialPublicKey, string|ByteBuffer $challenge, int $prevSignatureCnt = null, bool $requireUserVerification = false, bool $requireUserPresent = true): boolean

Parameters

Name Type Default Description
$clientDataJSONrequired string no default value binary from browser
$authenticatorDatarequired string no default value binary from browser
$signaturerequired string no default value binary from browser
$credentialPublicKeyrequired string no default value string PEM-formated public key from used credentialId
$challengerequired stringorlbuchs\WebAuthn\Binary\ByteBuffer no default value binary from used challange
$prevSignatureCnt int null signature count value of the last login
$requireUserVerification bool false true, if the device must verify user (e.g. by biometric data or pin)
$requireUserPresent bool true true, if the device must check user presence (e.g. by pressing a button)

Return type

boolean

true if get is successful

Exceptions

Type Description
lbuchs\WebAuthn\WebAuthnException

Parent class

Kirby\Auth\Service\Webauthn inherited from lbuchs\WebAuthn\WebAuthn