feat: clean authentication data

This commit is contained in:
Vincent
2024-09-26 13:38:15 +02:00
parent b9f38e4e85
commit a7b09833c6

View File

@@ -83,7 +83,16 @@ class NamecheapConnector extends AbstractProvider
public static function verifyAuthData(array $authData, HttpClientInterface $client): array
{
return $authData;
// TODO call gettldlist to introspect authentication
// need to make verifyAuthData local to do this properly...
return [
'ApiUser' => $authData['ApiUser'],
'ApiKey' => $authData['ApiKey'],
'acceptConditions' => $authData['acceptConditions'],
'ownerLegalAge' => $authData['ownerLegalAge'],
'waiveRetractionPeriod' => $authData['waiveRetractionPeriod'],
];
}
protected function getCachedTldList(): CacheItemInterface