Lines Matching refs:consumer

72    * @param OAuthConsumer $consumer
76 abstract public function build_signature($request, $consumer, $token); argument
81 * @param OAuthConsumer $consumer
86 public function check_signature($request, $consumer, $token, $signature) { argument
87 $built = $this->build_signature($request, $consumer, $token);
104 public function build_signature($request, $consumer, $token) { argument
109 $consumer->secret,
139 public function build_signature($request, $consumer, $token) { argument
141 $consumer->secret,
180 public function build_signature($request, $consumer, $token) { argument
199 public function check_signature($request, $consumer, $token, $signature) { argument
292 …public static function from_consumer_and_token($consumer, $token, $http_method, $http_url, $parame… argument
297 "oauth_consumer_key" => $consumer->key);
448 public function sign_request($signature_method, $consumer, $token) { argument
454 $signature = $this->build_signature($signature_method, $consumer, $token);
458 public function build_signature($signature_method, $consumer, $token) { argument
459 $signature = $signature_method->build_signature($this, $consumer, $token);
506 $consumer = $this->get_consumer($request);
511 $this->check_signature($request, $consumer, $token);
515 $new_token = $this->data_store->new_request_token($consumer, $callback);
527 $consumer = $this->get_consumer($request);
530 $token = $this->get_token($request, $consumer, "request");
532 $this->check_signature($request, $consumer, $token);
536 $new_token = $this->data_store->new_access_token($token, $consumer, $verifier);
546 $consumer = $this->get_consumer($request);
547 $token = $this->get_token($request, $consumer, "access");
548 $this->check_signature($request, $consumer, $token);
549 return array($consumer, $token);
602 $consumer = $this->data_store->lookup_consumer($consumer_key);
603 if (!$consumer) {
607 return $consumer;
613 private function get_token(&$request, $consumer, $token_type="access") { argument
616 $consumer, $token_type, $token_field
628 private function check_signature(&$request, $consumer, $token) { argument
634 $this->check_nonce($consumer, $token, $nonce, $timestamp);
641 $consumer,
672 private function check_nonce($consumer, $token, $nonce, $timestamp) { argument
680 $consumer,
697 function lookup_token($consumer, $token_type, $token) { argument
701 function lookup_nonce($consumer, $token, $nonce, $timestamp) { argument
705 function new_request_token($consumer, $callback = null) { argument
709 function new_access_token($token, $consumer, $verifier = null) { argument