original_string: public function getTokens($clientId, $clientSecret, $authCode, $redirectUrl)
      {
          $this->client = new HTTPClient();
  
          $this->client->setCustomHeader(array(
              "Authorization: Basic " . base64_encode($clientId . ":" .
                                                      $clientSecret),
          ));
  
          $this->client->setPostParams(array(
                  "code" => urlencode($authCode),
                  "client_id" => urlencode($clientId),
                  "client_secret" => urlencode($clientSecret),
                  "redirect_uri" => $redirectUrl,
                  "grant_type" => "authorization_code"
              )
              , false);
  
          $response = new AccessTokenResponse(
              $this->client->post($this->apiMode->getApiBaseUrl() . $this->accessTokenPath)
          );
  
          $this->accessTokenStorage->store($response);
  
          return $response;
      }
code: public function getTokens($clientId, $clientSecret, $authCode, $redirectUrl)
      {
          $this->client = new HTTPClient();
  
          $this->client->setCustomHeader(array(
              "Authorization: Basic " . base64_encode($clientId . ":" .
                                                      $clientSecret),
          ));
  
          $this->client->setPostParams(array(
                  "code" => urlencode($authCode),
                  "client_id" => urlencode($clientId),
                  "client_secret" => urlencode($clientSecret),
                  "redirect_uri" => $redirectUrl,
                  "grant_type" => "authorization_code"
              )
              , false);
  
          $response = new AccessTokenResponse(
              $this->client->post($this->apiMode->getApiBaseUrl() . $this->accessTokenPath)
          );
  
          $this->accessTokenStorage->store($response);
  
          return $response;
      }
code_tokens: public function getTokens ( $ clientId , $ clientSecret , $ authCode , $ redirectUrl ) { $ this -> client = new HTTPClient ( ) ; $ this -> client -> setCustomHeader ( array ( "Authorization: Basic " . base64_encode ( $ clientId . ":" . $ clientSecret ) , ) ) ; $ this -> client -> setPostParams ( array ( "code" => urlencode ( $ authCode ) , "client_id" => urlencode ( $ clientId ) , "client_secret" => urlencode ( $ clientSecret ) , "redirect_uri" => $ redirectUrl , "grant_type" => "authorization_code" ) , false ) ; $ response = new AccessTokenResponse ( $ this -> client -> post ( $ this -> apiMode -> getApiBaseUrl ( ) . $ this -> accessTokenPath ) ) ; $ this -> accessTokenStorage -> store ( $ response ) ; return $ response ; }
docstring: Exchange a `code` from `getLoginUrl` for `Access` and `Refresh` Tokens
  
  @param string $clientId Client's ID provided by Feedly's Administrators
  @param string $clientSecret Client's Secret provided by Feedly's Administrators
  @param string $authCode Code obtained from `getLoginUrl`
  @param string $redirectUrl Endpoint to reroute with the results
  
  @return AccessTokenResponse
docstring_tokens: Exchange a code from getLoginUrl for Access and Refresh Tokens