src/Permission/src/OAuth/GoogleClient.php
public function getAccessToken()
    {
        $this->getLogger()->debug('Get access token. If expired try to update');

        if ($this->isAccessTokenExpired() && $this->getRefreshToken()) {
            $this->fetchAccessTokenWithRefreshToken($this->getRefreshToken());
        }

        return parent::getAccessToken();
    }
public function getAccessToken()
    {
        $this->getLogger()->debug('Get access token. If expired try to update');

        if ($this->isAccessTokenExpired() && $this->getRefreshToken()) {
            $this->fetchAccessTokenWithRefreshToken($this->getRefreshToken());
        }

        return parent::getAccessToken();
    }
public function getAccessToken ( ) { $ this -> getLogger ( ) -> debug ( 'Get access token. If expired try to update' ) ; if ( $ this -> isAccessTokenExpired ( ) && $ this -> getRefreshToken ( ) ) { $ this -> fetchAccessTokenWithRefreshToken ( $ this -> getRefreshToken ( ) ) ; } return parent :: getAccessToken ( ) ; }
Proxy for parent method
Get new access token if it expired using refresh token

@return array
Proxy for parent method Get new access token if it expired using refresh token