Rename OAuthConsumer to Consumer
This commit is contained in:
		| @@ -13,7 +13,7 @@ function __construct($key, $secret, $callback_url=NULL) { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   function __toString() { |   function __toString() { | ||||||
|     return "OAuthConsumer[key=$this->key,secret=$this->secret]"; |     return "Consumer[key=$this->key,secret=$this->secret]"; | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ abstract public function get_name(); | |||||||
|    * the encoding is handled in Request when the final |    * the encoding is handled in Request when the final | ||||||
|    * request is serialized |    * request is serialized | ||||||
|    * @param Request $request |    * @param Request $request | ||||||
|    * @param OAuthConsumer $consumer |    * @param Consumer $consumer | ||||||
|    * @param OAuthToken $token |    * @param OAuthToken $token | ||||||
|    * @return string |    * @return string | ||||||
|    */ |    */ | ||||||
| @@ -28,7 +28,7 @@ abstract public function build_signature($request, $consumer, $token); | |||||||
|   /** |   /** | ||||||
|    * Verifies that a given signature is correct |    * Verifies that a given signature is correct | ||||||
|    * @param Request $request |    * @param Request $request | ||||||
|    * @param OAuthConsumer $consumer |    * @param Consumer $consumer | ||||||
|    * @param OAuthToken $token |    * @param OAuthToken $token | ||||||
|    * @param string $signature |    * @param string $signature | ||||||
|    * @return bool |    * @return bool | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Eher
					Eher