Skip to content

Kirby 6.0.0

$webauthnMethod->authenticate()

Verifies the WebAuthn assertion, identifies the user via the user handle and logs them in

$webauthnMethod->authenticate(string|null $email, string|null $password = null, bool $long = false): User|Status

Parameters

Name Type Default
$email stringornull no default value
$password stringornull null
$long bool false

Return types

Kirby\Cms\UserorKirby\Auth\Status

Parent class

Kirby\Auth\Method\WebauthnMethod