original_string: private function acquireAccessToken()
      {
          if (isset($this->accessToken) && $this->accessToken->getRefreshToken()) {
              return $this->provider->getAccessToken(new RefreshToken(), ['refresh_token' => $this->accessToken->getRefreshToken()]);
          }
  
          return $this->provider->getAccessToken($this->grant, $this->grantOptions);
      }
code: private function acquireAccessToken()
      {
          if (isset($this->accessToken) && $this->accessToken->getRefreshToken()) {
              return $this->provider->getAccessToken(new RefreshToken(), ['refresh_token' => $this->accessToken->getRefreshToken()]);
          }
  
          return $this->provider->getAccessToken($this->grant, $this->grantOptions);
      }
code_tokens: private function acquireAccessToken ( ) { if ( isset ( $ this -> accessToken ) && $ this -> accessToken -> getRefreshToken ( ) ) { return $ this -> provider -> getAccessToken ( new RefreshToken ( ) , [ 'refresh_token' => $ this -> accessToken -> getRefreshToken ( ) ] ) ; } return $ this -> provider -> getAccessToken ( $ this -> grant , $ this -> grantOptions ) ; }
docstring: Acquire a new access token using a refresh token or the configured grant.
  
  @return AccessToken
docstring_tokens: Acquire a new access token using a refresh token or the configured grant .