Rename OAuthConsumer to Consumer

This commit is contained in:
Eher
2012-12-02 18:23:07 -02:00
parent e3aea01134
commit b24d52eb34
2 changed files with 3 additions and 3 deletions

View File

@@ -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]";
} }
} }

View File

@@ -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