mapper = $mapper; $this->manager = $manager; } public function getForm() { $this->initialStateService->provideInitialState( Application::APP_ID, 'webauthn-devices', $this->mapper->findAllForUid($this->userId) ); return new TemplateResponse('settings', 'settings/personal/security/webauthn', [ ]); } public function getSection(): ?string { if (!$this->manager->isWebAuthnAvailable()) { return null; } return 'security'; } public function getPriority(): int { return 20; } }