Skip to content

Kirby 6.0.0

Webauthn::for()

Creates an instance scoped to a user, for registration and challenge-based login

Webauthn::for(User $user, array $formats = ['none']): Webauthn

Parameters

Name Type Default
$userrequired Kirby\Cms\User no default value
$formats array ['none']

Return type

Kirby\Auth\Service\Webauthn

Parent class

Kirby\Auth\Service\Webauthn