Exemple #1
0
 /**
  * Create a {@link Curl} object that is pre-configured with {@link getClientIdentifier()},
  * and the proper OAuth 2 "Authorization" header.
  *
  * @param string $url
  *    Generate this URL using {@link buildUrl()}.
  *
  * @return Curl
  */
 function mkCurl($url)
 {
     $_CURL = RequestUtil::mkCurlWithOAuth($this->clientIdentifier, $url, $this->accessToken);
     return $_CURL;
 }