src/Permission/src/OAuth/GoogleClient.php
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);
    }
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);
    }
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 ) ; }
Authentication passed if access token can be fetch using authorization code

@param $authCode
@return bool
@throws Exception
Authentication passed if access token can be fetch using authorization code