2024-07-28 23:39:38 +02:00
|
|
|
<?php
|
|
|
|
|
|
2024-08-19 21:17:57 +02:00
|
|
|
namespace App\Service\Connector;
|
2024-07-28 23:39:38 +02:00
|
|
|
|
2024-07-29 03:27:55 +02:00
|
|
|
use App\Entity\Domain;
|
2024-08-07 01:10:56 +02:00
|
|
|
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
2024-07-29 03:27:55 +02:00
|
|
|
|
2024-07-28 23:39:38 +02:00
|
|
|
interface ConnectorInterface
|
|
|
|
|
{
|
2024-08-23 13:38:16 +02:00
|
|
|
public function authenticate(array $authData);
|
2024-08-07 01:10:56 +02:00
|
|
|
|
2024-07-30 14:56:08 +02:00
|
|
|
public function orderDomain(Domain $domain, bool $dryRun): void;
|
2024-08-07 01:10:56 +02:00
|
|
|
|
2024-08-07 01:16:26 +02:00
|
|
|
public static function verifyAuthData(array $authData, HttpClientInterface $client): array;
|
2024-08-02 23:24:52 +02:00
|
|
|
}
|