diff --git a/Classes/AssetSource/CantoAssetSource.php b/Classes/AssetSource/CantoAssetSource.php index 1144166..043f281 100644 --- a/Classes/AssetSource/CantoAssetSource.php +++ b/Classes/AssetSource/CantoAssetSource.php @@ -235,8 +235,6 @@ public function getCantoClient(): CantoClient if ($this->cantoClient === null) { $this->cantoClient = new CantoClient( $this->apiBaseUri, - $this->appId, - $this->appSecret, $this->assetSourceIdentifier ); } diff --git a/Classes/Service/CantoClient.php b/Classes/Service/CantoClient.php index e610cf4..f1a611b 100644 --- a/Classes/Service/CantoClient.php +++ b/Classes/Service/CantoClient.php @@ -44,16 +44,6 @@ final class CantoClient */ private $apiBaseUri; - /** - * @var string - */ - private $appId; - - /** - * @var string - */ - private $appSecret; - /** * @var string */ @@ -95,15 +85,11 @@ final class CantoClient /** * @param string $apiBaseUri - * @param string $appId - * @param string $appSecret * @param string $serviceName */ - public function __construct(string $apiBaseUri, string $appId, string $appSecret, string $serviceName) + public function __construct(string $apiBaseUri, string $serviceName) { $this->apiBaseUri = $apiBaseUri; - $this->appId = $appId; - $this->appSecret = $appSecret; $this->serviceName = $serviceName; $this->httpClient = new Client(['allow_redirects' => true]);