public function authorizeRequest(AbstractClient $_client, RequestInterface &$httpRequest)
    {
        if ($this->isRequestAuthorized($httpRequest)){
            return;
        }

        // We have a valid token (make sure to clean the Authorization header)
        $httpRequest->removeHeader('Authorization');
        $httpRequest->addHeader('Authorization', 'Basic ' . $this->getCredentials());
    }