Commit Graph

346 Commits (7496e419e342a56880d83e6782badda969bd8599)

Author SHA1 Message Date
Phil Sturgeon a3ea33f2c5 Update README.md 2014-04-29 23:20:09 +01:00
Phil Sturgeon 925e47b480 Update README.md 2014-04-29 22:53:42 +01:00
Phil Sturgeon 80c704679d Renamed Authorizationcode to AuthorizationCode
PSR-0 and Ubuntu both care about case-sensitivity.
2014-04-29 10:55:17 +01:00
Phil Sturgeon 9817cfcbb5 Merge pull request #78 from TomHAnderson/entity
Proper User Entity, HHVM passes
2014-04-29 10:27:44 +01:00
Tom Anderson 0f3c8002b6 Add specific check for HHVM 2014-04-28 15:55:00 -07:00
Tom Anderson 2bb4084602 Don't use PHP constant; use constant value instead to support hhvm 2014-04-28 15:55:00 -07:00
Tom Anderson 8d4879d33d New entity for user data 2014-04-28 15:55:00 -07:00
Tom Anderson ec97b7d811 Renamed IdentityProvider to AbstractProvider 2014-04-28 15:55:00 -07:00
Tom Anderson 1a36805cec Fixed constructor not parsing config options 2014-04-28 14:00:04 -07:00
Phil Sturgeon 3ffd430ed5 Merge pull request #76 from TomHAnderson/eventbrite
Fixed constructor not parsing config options
2014-04-27 11:45:53 +01:00
Tom Anderson 906d6b5497 Fixed constructor not parsing config options 2014-04-26 22:07:24 -07:00
Alex Bilbie 667923f36d Update README.md 2014-04-26 18:10:43 +01:00
Alex Bilbie 2835da1305 Removed 5.3 testing 2014-04-26 18:10:26 +01:00
Alex Bilbie 0846bbd2cd Re-added .travis.yml 2014-04-26 18:00:23 +01:00
Alex Bilbie d6d06948b8 Added whitelist so that running global phpunit doesn't affect code coverage
On my local system stuff from /usr/local/php was being included
2014-04-26 17:55:20 +01:00
Tom Anderson 375d01c0b8 100% code coverage 2014-04-25 13:23:09 -07:00
Tom Anderson 1a190e760f Merge branch 'master' into psr-4
Conflicts:
	src/Provider/Microsoft.php
	test/src/Provider/MicrosoftTest.php
2014-04-25 12:29:33 -07:00
Tom Anderson ea5851f755 Added missing RefreshToken 2014-04-25 12:27:49 -07:00
Tom Anderson 73f060a56d Corrected magic getters and setters, removed unused iterator and provide fluent interface: 2014-04-25 10:50:11 -07:00
Tom Anderson 7f7567cf92 100% unit tests for Vkontakte, Instagram, Eventbrite, Microsoft 2014-04-25 10:40:42 -07:00
Tom Anderson 4a843af711 working on ms 2014-04-25 10:13:33 -07:00
Tom Anderson f6823336b9 100% unit tests for Eventbrite + source fixes 2014-04-25 10:07:40 -07:00
Tom Anderson 55b51f3909 100% unit tests for Instagram 2014-04-25 09:58:00 -07:00
Tom Anderson 7c25507955 100% unit tests for Vkontakte 2014-04-25 09:51:46 -07:00
Tom Anderson cf311788c5 Moved tests to test; tidy phpunit.xml 2014-04-25 08:32:38 -07:00
Tom Anderson ffe065a05c Ran cs fixer & added testing namespace to psr4 + log > logs 2014-04-24 19:55:23 -07:00
Tom Anderson 73768b6447 Simplified user class; php defaults vars to null so no need to duplicate that 2014-04-24 19:54:41 -07:00
Tom Anderson 57fbc1d433 100% unit test of Github, Google, Facebook and LinkedIn 2014-04-24 19:54:29 -07:00
Tom Anderson 4ce38514ae Setup base unit testing framework 2014-04-24 15:22:57 -07:00
Tom Anderson 6387ae33fe Added php-cs-fixer to dev and ran it 2014-04-23 21:49:08 -07:00
Tom Anderson 399a6167c4 Fix perms to 644 2014-04-23 21:49:08 -07:00
Tom Anderson 33b0147bf3 psr-4 2014-04-23 21:49:08 -07:00
Phil Sturgeon bb6cee5f60 Merge pull request #72 from TomHAnderson/custom-grants
Grant namespace for verifying instance was improperly referenced
2014-04-23 23:02:19 +01:00
Tom Anderson 99aff3936b Grant namespace for verifying instance was improperly referenced 2014-04-23 14:48:19 -07:00
Alex Bilbie 2dde0d98f9 Merge pull request #71 from dragoonis/patch-1
Adding in multi-version syntax support for http_build_query
2014-04-21 18:29:46 +01:00
Paul Dragoonis 69209e8dd6 Adding in multi-version syntax support for http_build_query 2014-04-20 23:02:10 +01:00
Phil Sturgeon a1092a8500 Merge pull request #70 from dwightwatson/master
Fix issue if Facebook user doesn't have a username
2014-04-20 17:15:00 +03:00
Dwight Watson 1611d9b917 Fix issue if Facebook user doesn't have a username 2014-04-20 10:56:22 +10:00
Ben Corlett 91bd27b184 Merge pull request #45 from suwardany/fixes/instagram
instagram missing methods
2014-03-07 13:04:39 +11:00
Ben Corlett 9ad874329b Merge pull request #61 from jamesmills/master
This should fix issue #59
2014-02-10 21:26:55 +11:00
James Mills f9466207ef This should fix issue #59
I have added a new parameter to the IdentityProvider to hold any headers that a Provider needs. By default this is null. In the Eventbrite Provider I have added the headers needed to get Eventbrite to work.
2014-02-10 13:36:58 +04:00
Alex Bilbie db44a41af2 Merge pull request #58 from jamesmills/master
Removed debug and commented out code. Thanks Mr S.
2014-02-04 02:14:59 -08:00
James Mills d79cdb6a5f Removed debug and commented out code. Thanks Mr S. 2014-02-04 14:11:05 +04:00
Alex Bilbie b61484ce17 Delete .travis.yml 2014-02-04 09:45:28 +00:00
Alex Bilbie 3dcb6298f9 Merge pull request #57 from jamesmills/master
Adding Eventbrite
2014-02-04 01:45:10 -08:00
James Mills 073a0f6496 Added Eventbrite to the list of inbuilt providers 2014-02-04 10:14:08 +04:00
James Mills 97610c7394 Added Eventbrite to the list of built-in identity providers 2014-02-04 10:11:42 +04:00
James Mills 998bbc7f21 This might be a better way of explaining in the README how to call Eventbrite 2014-02-04 10:09:41 +04:00
James Mills 2e896998c2 When sending an request to get an Access Token to Eventbrite you also have to send 'grant_type with value of authorization_code'.
Not really sure how to document this?
2014-02-04 10:06:43 +04:00
James Mills 754250d3af When you make requests to the Eventbrite API using oauth2 access_token you need to send an Authorization header field with value of Bearer otherwise you get error.
This is not needed for all the oauth stuff just the last call to the API to fetchUserDetails.

I am not sure if this will brake other requests to other providers or if they will just ignore this extra header?
2014-02-04 10:04:08 +04:00