Commit Graph

50 Commits

Author SHA1 Message Date
GaryJones d5b23e95bb Update gitignore file 2012-12-04 01:28:58 +00:00
GaryJones 391a3f2a91 Add travis config file 2012-12-04 01:28:30 +00:00
GaryJones 87a4b17394 Refactor common code for getting the signature key. 2012-11-23 12:30:38 +00:00
GaryJones a5ba220ae1 Add tests for concrete method inside abstract SignatureMethod class. 2012-11-23 12:22:04 +00:00
GaryJones 7457f612b7 Add test for NullToken. 2012-11-23 12:20:23 +00:00
GaryJones d94446782a Rename OAuth\Exception back to OAuthException, to follow the standard PHP way of naming predefined / SPL exceptions. 2012-11-22 18:11:12 +00:00
GaryJones f8be34b748 Typo 2012-11-22 17:47:43 +00:00
GaryJones fce57a4e6e Add new NullToken, to satisfy type hint checks when token would otherwise not be set. 2012-11-22 17:37:12 +00:00
GaryJones af1993ac3a Make the Token arg of buildSignature() methods optional.
RSA-SHA1 buildSignature() doesn't use it at all, and the other two allow for there to be no token, as on the initial client request. The token shared-secret as taken to be an empty string.
2012-11-22 16:27:47 +00:00
GaryJones bfabd20ae4 Fix bug where the colon between host and port would appear, even when port was an empty string. 2012-11-22 16:25:34 +00:00
GaryJones 52d9317cfd Add unit tests for signature methods, and a couple for Request. 2012-11-22 16:24:21 +00:00
GaryJones b564cbd103 Change line endings...again :-/ 2012-11-22 13:24:15 +00:00
GaryJones 1f05207957 Add basic client and token unit tests. 2012-11-22 13:18:56 +00:00
GaryJones 7ef4283511 Limit phpunit dev dependency to stable. 2012-11-22 13:18:34 +00:00
GaryJones a58bceb4aa Make callback_url property protected, and add get/set methods. 2012-11-22 13:17:23 +00:00
GaryJones b06d99ccbf Everything documented, including clearer author attribution.
Renamed a few classes to rely more on OAuth namespace, instead of OAuth class prefix.
2012-11-21 11:10:57 +00:00
GaryJones 92cd49d385 Clarify license as MIT.
Include a LICENSE file, giving original work copyright to Andy Smith, and modifications by Gary Jones.
2012-11-19 17:55:49 +00:00
Gary Jones e233a83f43 Add current status note to readme. 2012-11-18 12:29:31 +00:00
Gary Jones e8cd1bdc22 Add phpunit.xml config file. 2012-11-18 12:28:10 +00:00
Gary Jones 68dcff84a4 Add some require-dev dependencies. 2012-11-18 12:27:26 +00:00
Gary Jones 12afd40c6e Change all references to consumer to client, as per RFC 5849. 2012-11-18 02:33:29 +00:00
Gary Jones 4d5cfee737 Add trailing slash to PSR-0 value. 2012-11-18 01:40:40 +00:00
Gary Jones abe9e182cb Fix incorrect namespace. 2012-11-18 01:33:27 +00:00
Gary Jones 36add4e946 Use single quotes for simple strings. 2012-11-18 01:32:38 +00:00
Gary Jones bebf65bfed Fix issue for PHP 5.4.8 where the host part from parse_url seems to also include the port as well. 2012-11-18 01:18:11 +00:00
Gary Jones dc7230cbb4 Fix old array_map() reference. 2012-11-17 23:14:25 +00:00
Gary Jones f896020b35 Change static calls from method_names to methodNames. 2012-11-17 22:33:43 +00:00
Gary Jones 244bd74225 Rename vendor and package in composer to be lowercase. 2012-11-17 22:03:48 +00:00
Gary Jones fbe80f2624 Oops, removing Netbeans project directory. 2012-11-17 21:24:13 +00:00
Gary Jones 63b4a0f58d Made package PSR-2 compatible.
Since this is a fork, also renamed the namespaces and containing folder.
2012-11-17 21:13:44 +00:00
Eher 6a15224e34 Merge branch 'master' of github.com:EHER/OAuth 2012-04-03 11:16:07 -03:00
Eher c434283f5f Psr-0 updated. 2012-04-03 11:13:50 -03:00
Eher 815a86af6e Alteração do psr-0 2012-04-03 11:00:41 -03:00
Eher 26a92abbdc Refactoring 2012-02-13 01:52:03 -02:00
Eher 2feec37a98 Composer.json updated 2012-02-12 15:39:42 -02:00
Eher 17ca454bb8 Composer.json updated 2012-02-12 15:17:48 -02:00
Eher 4344315960 Composer.json updated 2012-02-12 15:10:02 -02:00
Eher 0849d47418 psr-0 namespace configured 2012-02-12 13:39:28 -02:00
Eher b1cea0857a Merge branch 'master' of github.com:EHER/OAuth
Conflicts:
	.gitignore
	composer.json
2012-02-09 13:03:36 -02:00
Eher 9d62ccdb86 Compuser json fixed 2012-02-09 08:33:29 -02:00
Eher 0efb3a5dfa Ignore some compuser and vim files 2012-02-09 08:33:01 -02:00
Eher 9cc377d653 SignatureMethod removed from namespace 2012-02-08 23:35:31 -02:00
Eher 67680e1564 Composer project data fixed 2012-02-08 22:44:20 -02:00
Eher 2187cd8b44 Ignore files 2012-02-08 22:42:21 -02:00
Eher e2fa21dc44 Namespace from signatures methods was changed 2012-02-08 22:31:18 -02:00
Eher ebb686a715 Vendor's structure created 2012-02-08 17:34:48 -02:00
Eher b3978c6f9d Composer psr-0 configured 2012-02-08 17:27:30 -02:00
Eher 88f58f351a Composer project data updated 2012-02-08 17:23:47 -02:00
Eher 8fa518da0e Readme updated 2012-02-08 17:15:48 -02:00
Eher 4b27af082d Initial import 2012-02-08 17:12:44 -02:00