Skip to content

Commit

Permalink
listen to IntegrationUnblocked in KeycloakServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVHG committed Jun 6, 2024
1 parent 93bd8c7 commit 146c1af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Keycloak/KeycloakServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use App\Domain\Integrations\Events\IntegrationBlocked;
use App\Domain\Integrations\Events\IntegrationCreated;
use App\Domain\Integrations\Events\IntegrationUnblocked;
use App\Domain\Integrations\Events\IntegrationUpdated;
use App\Domain\Integrations\Events\IntegrationUrlCreated;
use App\Domain\Integrations\Events\IntegrationUrlDeleted;
Expand All @@ -16,6 +17,7 @@
use App\Keycloak\Events\MissingClientsDetected;
use App\Keycloak\Listeners\CreateClients;
use App\Keycloak\Listeners\BlockClients;
use App\Keycloak\Listeners\UnblockClients;
use App\Keycloak\Listeners\UpdateClients;
use App\Keycloak\Repositories\EloquentKeycloakClientRepository;
use App\Keycloak\Repositories\KeycloakClientRepository;
Expand Down Expand Up @@ -89,6 +91,7 @@ private function bootstrapEventHandling(): void
Event::listen(IntegrationCreated::class, [CreateClients::class, 'handleCreateClients']);
Event::listen(IntegrationUpdated::class, [UpdateClients::class, 'handle']);
Event::listen(IntegrationBlocked::class, [BlockClients::class, 'handle']);
Event::listen(IntegrationUnblocked::class, [UnblockClients::class, 'handle']);
Event::listen(MissingClientsDetected::class, [CreateClients::class, 'handleCreatingMissingClients']);

Event::listen(IntegrationUrlCreated::class, [UpdateClients::class, 'handle']);
Expand Down

0 comments on commit 146c1af

Please sign in to comment.