Paul M. Jones
f780b18fef
add an interface for injection typehints
2014-07-08 10:35:08 -05:00
Ari Pringle
8cbd2c7b61
add support for Google's hd param
2014-06-30 11:30:31 -06:00
jlehner
ea2023237a
Updating logic for populating the token expiration time. Assessing both expires_in and expires options while attempting to compensate for providers not staying standard to the spec.
2014-06-26 19:49:41 -04:00
Phil Sturgeon
09a0c051bf
Merge pull request #109 from kornrunner/user-undefined-variable
...
Use of undefined variable in `User` entity
2014-06-11 09:16:32 +01:00
Boris Momčilović
195cdd523e
User: use `$property` variable instead of (undefined) `$name`, fixes possible notice
2014-06-11 01:43:53 +02:00
Boris Momčilović
e4bef9976d
Entity: User: added `gender` and `locale` properties
2014-06-11 01:32:12 +02:00
Cy
26adb5081b
Expose generated state to allow for CSRF validation.
2014-06-08 12:25:03 -07:00
Phil Sturgeon
f559ca1dd5
Fixed #90 : Authoriztioncode v AuthoriztionCode
2014-05-04 18:51:12 +01:00
Phil Sturgeon
424b15d4a8
Fixed PHPCS issues.
2014-05-03 11:55:30 +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
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
Tom Anderson
375d01c0b8
100% code coverage
2014-04-25 13:23:09 -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
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
Tom Anderson
99aff3936b
Grant namespace for verifying instance was improperly referenced
2014-04-23 14:48:19 -07:00
Paul Dragoonis
69209e8dd6
Adding in multi-version syntax support for http_build_query
2014-04-20 23:02:10 +01: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
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
James Mills
d79cdb6a5f
Removed debug and commented out code. Thanks Mr S.
2014-02-04 14:11:05 +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
James Mills
b5aa8a6262
Adding Eventbrite Provider
2014-02-04 09:55:29 +04:00
Pascal Borreli
1e7826ee26
Fixed typos
2014-02-01 22:59:40 +00:00
Phil Sturgeon
f53ba1d052
Merge pull request #51 from robertpitt/master
...
Image URL not present within Google Identity
2014-01-17 07:41:24 -08:00
Robert Pitt
be12622ce6
Image URL not present within Google Identity
...
Image url is set to incorrect key within the User Object.;
2014-01-17 14:42:53 +00:00
Shaun Hare
b1714b4a0a
Changed IdentityProvider to enforce & as query param separator and ignore ini setting
2014-01-16 11:58:33 +00:00
Robert Pitt
e1dac23e2e
Set approval prompt to auto from force
2014-01-11 23:09:11 +00:00
Suhayb El Wardany
4a9f0259bb
instagram missing methods
2013-12-10 02:52:55 +02:00
Phil Sturgeon
38b94802fd
PSR-2 CS Fixes
2013-11-17 21:45:28 -05:00
Pavel Polyakov
bcd04c1f0f
Vkontakte Provider has been added
2013-11-14 09:40:10 +02:00
Chris Hayes
c26c090563
Rename Linkedin.php to LinkedIn.php
...
Fixed an issue where LinkedIn provider wasn't found in case-sensitive environments.
2013-10-30 09:53:29 -04:00
Isern Palaus
94f27933d4
Added getScopes and setScopes methods to IdentityProvider.
...
Signed-off-by: Isern Palaus <ipalaus@ipalaus.com>
2013-10-22 15:57:22 +02:00
Chris Hayes
8385a170dc
Update LinkedIn Provider
...
Added missing userUid(), userEmail(), and userScreenName() methods.
2013-10-09 00:39:18 -04:00
tomaszsobczak
4fb391b37d
Fixed Provider\Google#userDetails to match Provider\User implementation
2013-09-27 11:49:45 +02:00
Ben Corlett
02f311263e
Add Microsoft methods.
...
Signed-off-by: Ben Corlett <bencorlett@me.com>
2013-09-14 12:47:50 +10:00
Ben Corlett
3ae7f8a69a
Add Google methods.
...
Signed-off-by: Ben Corlett <bencorlett@me.com>
2013-09-14 12:38:58 +10:00
Ben Corlett
342857461c
Move methods.
...
Signed-off-by: Ben Corlett <bencorlett@me.com>
2013-09-14 12:25:49 +10:00
Ben Corlett
8f0f314b41
Add new methods to FB driver.
...
Signed-off-by: Ben Corlett <bencorlett@me.com>
2013-09-14 12:21:42 +10:00
Tim Fountain
72781e2464
Fixed typo in authorization method call
2013-09-13 16:31:18 +01:00
Ben Corlett
f6fd15681e
Tweak method for consistency.
...
Signed-off-by: Ben Corlett <bencorlett@me.com>
2013-09-13 16:49:32 +10:00
Ben Corlett
aa58cd48cd
Adding new method to retrieve a user's ID and screen name from their APIs, with caching.
...
I haven't put these into the abstract methods yet, not until I fill out the implementation on every provider.
Signed-off-by: Ben Corlett <bencorlett@me.com>
2013-09-13 16:44:47 +10:00
Ben Corlett
42db96f49d
Fixing exceptions referencing old variables.
...
Signed-off-by: Ben Corlett <bencorlett@me.com>
2013-09-13 16:43:57 +10:00
Ben Corlett
3bb2f941a4
Adding method to simply retrieve the authorise URI rather than only doing a forced redirect.
...
Signed-off-by: Ben Corlett <bencorlett@me.com>
2013-09-13 16:02:21 +10:00
Phil Sturgeon
53c79b51fa
Merge pull request #18 from bitinn/master
...
github user might not have a display name
2013-08-26 20:27:20 -07:00
David Frank
1ca735120d
github user might not have a display name
2013-08-27 11:10:49 +08:00
Maksim Surguy
e1422f31a8
Added Microsoft to the providers
...
Added auth provider for Microsoft accounts
2013-08-22 19:49:53 -07:00
Maksim Surguy
25862eca7d
Added LinkedIn to the providers
2013-08-21 16:05:39 -07:00
Maksim Surguy
664248f103
Added Instagram provider
...
Added provider definition for Instagram
2013-08-20 15:09:15 -07:00
rollbackpt
639043b955
Added missing "League" in namespaces
2013-08-18 12:21:48 +01:00
Ben Corlett
27ebf092ba
Couple of really insignificant tweaks.
...
Signed-off-by: Ben Corlett <bencorlett@me.com>
2013-07-12 16:36:09 +10:00
Alex Bilbie
520dcafd8f
Updated namespace and package name
2013-05-28 11:00:24 +01:00
Alex Bilbie
4282957dfb
Updated Github, Facebook and Google clients
2013-03-25 11:00:49 +00:00
Alex Bilbie
d64d9a3af2
Updated Google and Github providers
2013-03-20 11:37:07 +00:00
Alex Bilbie
3b050dafb2
Removed older providers as they just need rewriting from scratch
2013-03-20 11:36:35 +00:00
Alex Bilbie
8e641737af
Removed unnecessary file
2013-03-19 18:38:27 +00:00
Alex Bilbie
79b6d3fa60
Set properties to be public
2013-03-19 18:36:50 +00:00
Alex Bilbie
6e10cc9082
Namespace fix
2013-03-19 18:18:22 +00:00
Alex Bilbie
4f8ba41dd0
Added missing method
2013-03-19 18:16:40 +00:00
Alex Bilbie
20ea87df6b
Implement IteratorAggregate on class
2013-03-19 18:14:59 +00:00
Alex Bilbie
401b9049a1
Removed Blooie on @philsturgeon's recommendation
2013-03-19 18:01:02 +00:00
Alex Bilbie
57f0bdcd0c
Namespace fixes
2013-03-15 11:51:29 +00:00
Alex Bilbie
56e8446a62
Fixing Foursquare
2013-03-15 11:49:27 +00:00
Alex Bilbie
f80799178d
Update blooie provider
2013-03-15 11:49:17 +00:00
Alex Bilbie
36342b5fb7
Little fixes for Facebook controller
2013-03-15 11:37:46 +00:00
Alex Bilbie
31a3583e11
Return Provider\User class
2013-03-15 11:35:29 +00:00
Alex Bilbie
a0666935ec
Added Provider\User class
2013-03-15 11:35:19 +00:00
Alex Bilbie
8241c36565
Fixed variable name
2013-03-15 10:56:50 +00:00
Alex Bilbie
daf64254f9
Don't return a URL which leaks an access token
2013-03-15 10:54:11 +00:00
Alex Bilbie
786eb82f42
Set Facebook response type as string instead of array
2013-03-15 10:53:55 +00:00
Alex Bilbie
54b8348c20
Removed unilincoln provider
2013-03-15 10:53:34 +00:00
Alex Bilbie
e00e6fb95c
Renamed function
2013-02-26 12:05:34 +00:00
Alex Bilbie
acafd65012
Updated Blooie and Facebook providers
2013-02-26 12:02:52 +00:00
Alex Bilbie
e403a7d28f
Fixed namespace
2013-02-26 11:41:33 +00:00
Alex Bilbie
1b0ddabccf
Moved IdentityProvider class
2013-02-26 11:39:36 +00:00
Alex Bilbie
2a989d9576
Updates
2013-02-26 11:33:00 +00:00
Alex Bilbie
f5b23e09d4
It's an abstract class not an interface fool!
2013-02-25 14:13:42 +00:00
Alex Bilbie
aa5412a0d6
Spelling fix
2013-02-25 14:13:06 +00:00
Alex Bilbie
e0ccaf7c7d
Correct folder fool!
2013-02-25 14:10:07 +00:00
Alex Bilbie
132bbf0018
Updated unilincoln provider
2013-02-25 12:30:46 +00:00
Alex Bilbie
0655504c15
Various tweaks
2013-02-25 12:15:46 +00:00
Daniel Horrigan
5636c66fc2
Fixing a whole bunch of formatting and bugs. Still a lot to do.
2013-01-29 11:41:01 -05:00
Daniel Horrigan
a1a13840e2
Changing tabs to spaces
2013-01-29 11:08:47 -05:00
Daniel Horrigan
7dd1074272
Initial Commit
2013-01-29 11:06:24 -05:00