HTTP_OAuth
HTTP_OAuth copied to clipboard
HTTP_OAuth package contains the basics for both OAuth consumers and providers.
See http://pear.php.net/bugs/bug.php?id=18431
Good day, I am writing this mail coz I wanted to implement HTTP OAuth to the api that I am currently working on. However, i am having trouble on how...
``` 1) HTTP_OAuth_MessageTest::testGetParametersIsSorted Only variables should be passed by reference /dev/shm/extras/BUILD/php-pear-HTTP-OAuth-0.3.0/HTTP_OAuth-0.3.0/tests/HTTP/OAuth/MessageTest.php:68 ``` Trivial fix. ``` diff -up HTTP_OAuth-0.3.0/tests/HTTP/OAuth/MessageTest.php.old HTTP_OAuth-0.3.0/tests/HTTP/OAuth/MessageTest.php --- HTTP_OAuth-0.3.0/tests/HTTP/OAuth/MessageTest.php.old 2013-11-02 07:11:48.511779978 +0100 +++ HTTP_OAuth-0.3.0/tests/HTTP/OAuth/MessageTest.php 2013-11-02 07:11:21.471684361 +0100 @@...
IN package.xml Please remove this line
From http://opensource.org/licenses/bsd-license.php - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above...
The method OAuth/Message.php::setParameters() will overwrite any class properties with the same name as an HTTP GET/POST parameter. Suggest (a) add a test for if (isset($this->$name)) and (b) assigning default values...