Home
last modified time | relevance | path

Searched refs:http_method (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
DOAuth.php222 protected $http_method; variable in OAuthRequest
229 function __construct($http_method, $http_url, $parameters=NULL) { argument
233 $this->http_method = $http_method;
241 public static function from_request($http_method=NULL, $http_url=NULL, $parameters=NULL) { argument
250 $http_method = ($http_method) ? $http_method : $_SERVER['REQUEST_METHOD'];
265 if ($http_method == "POST"
287 return new OAuthRequest($http_method, $http_url, $parameters);
293 …public static function from_consumer_and_token($consumer, $token, $http_method, $http_url, $parame… argument
304 return new OAuthRequest($http_method, $http_url, $parameters);
374 return strtoupper($this->http_method);
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/
D__init__.py417 def from_request(cls, http_method, http_url, headers=None, parameters=None, argument
448 return cls(http_method, http_url, parameters)
454 http_method=HTTP_METHOD, http_url=None, parameters=None): argument
473 return Request(http_method, http_url, parameters)
477 http_method=HTTP_METHOD, http_url=None, parameters=None): argument
487 return cls(http_method, http_url, parameters)
556 token=self.token, http_method=method, http_url=uri,