public function authenticateWithAuthCode($authCode)
    {
        $accessToken = $this->fetchAccessTokenWithAuthCode($authCode);
        $this->getLogger()->debug('Access token with auth code: ' . json_encode($accessToken));

        return !array_key_exists('error', $accessToken);
    }