public function authenitcatedWith($client, $secret)
{
$tokenUrl = '/v2/token?client_id=' . $client . '&grant_type=client_credentials&client_secret=' . $secret;
$this->client->call($this->getMainContext()->getParameter('oauth_url') . $tokenUrl, 'GET');
$this->response = $this->client->getLastResponse();
$this->processResponse();
$this->access_token = $this->responseData['access_token'];
}