2024-07-28 23:39:38 +02:00
|
|
|
<?php
|
|
|
|
|
|
2024-07-29 15:28:05 +02:00
|
|
|
namespace App\Config\Connector;
|
2024-07-28 23:39:38 +02:00
|
|
|
|
2024-07-29 03:27:55 +02:00
|
|
|
use App\Entity\Domain;
|
2024-08-19 16:34:08 +02:00
|
|
|
use App\Entity\Tld;
|
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-07 01:10:56 +02:00
|
|
|
public function __construct(array $authData, HttpClientInterface $client);
|
|
|
|
|
|
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-19 16:34:08 +02:00
|
|
|
|
|
|
|
|
public function isSupported(Tld ...$tld): bool;
|
2024-08-02 23:24:52 +02:00
|
|
|
}
|