Rename OAuthConsumer to Consumer
This commit is contained in:
@@ -13,7 +13,7 @@ function __construct($key, $secret, $callback_url=NULL) {
|
||||
}
|
||||
|
||||
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
|
||||
* request is serialized
|
||||
* @param Request $request
|
||||
* @param OAuthConsumer $consumer
|
||||
* @param Consumer $consumer
|
||||
* @param OAuthToken $token
|
||||
* @return string
|
||||
*/
|
||||
@@ -28,7 +28,7 @@ abstract public function build_signature($request, $consumer, $token);
|
||||
/**
|
||||
* Verifies that a given signature is correct
|
||||
* @param Request $request
|
||||
* @param OAuthConsumer $consumer
|
||||
* @param Consumer $consumer
|
||||
* @param OAuthToken $token
|
||||
* @param string $signature
|
||||
* @return bool
|
||||
|
Reference in New Issue
Block a user