webauthnServerRepository = $webauthnServerRepository; } /** * @throws \Webauthn\Exception\InvalidDataException */ public function handle(User $user): PublicKeyCredentialCreationOptions { return $this->webauthnServerRepository->getPublicKeyCredentialCreationOptions($user); } }