registerNotifierService(Notifier::class); $context->registerEventListener(CodesGenerated::class, ActivityPublisher::class); $context->registerEventListener(CodesGenerated::class, RegistryUpdater::class); $context->registerEventListener(CodesGenerated::class, ClearNotifications::class); $context->registerEventListener(TwoFactorProviderForUserRegistered::class, ProviderEnabled::class); $context->registerEventListener(TwoFactorProviderForUserUnregistered::class, ProviderDisabled::class); $context->registerEventListener(UserDeletedEvent::class, UserDeleted::class); $context->registerTwoFactorProvider(BackupCodesProvider::class); } public function boot(IBootContext $context): void { } }