public function __construct($domain, $client_id = null, $client_secret = null, $guzzleOptions = [])
{
$this->client_id = $client_id;
$this->client_secret = $client_secret;
$this->domain = $domain;
$this->guzzleOptions = $guzzleOptions;
$this->setApiClient();
if (!empty($client_id) && !empty($client_secret)) {
$this->access_token = $this->oauth_token($client_id, $client_secret);
}
}