refactor: provider authentication flow

This commit is contained in:
Vincent
2024-09-30 13:48:15 +02:00
parent b162f2313e
commit 81512bebb4
7 changed files with 98 additions and 78 deletions

View File

@@ -3,7 +3,7 @@
namespace App\Config;
use App\Service\Connector\GandiProvider;
use App\Service\Connector\NamecheapConnector;
use App\Service\Connector\NamecheapProvider;
use App\Service\Connector\OvhProvider;
enum ConnectorProvider: string
@@ -17,7 +17,7 @@ enum ConnectorProvider: string
return match ($this) {
ConnectorProvider::OVH => OvhProvider::class,
ConnectorProvider::GANDI => GandiProvider::class,
ConnectorProvider::NAMECHEAP => NamecheapConnector::class,
ConnectorProvider::NAMECHEAP => NamecheapProvider::class,
};
}
}