Commit Graph

130 Commits (1d790ed19d49e5da8b0c431eb84797f3eec5fd36)

Author SHA1 Message Date
jeremykendall 831f329e1c Updates urlEmailEquals for use with Github Enterprise
See #188.
2014-12-29 04:18:33 -06:00
jeremykendall f3d6724d6c Updates string comparison to use identical operator 2014-12-29 04:18:12 -06:00
jeremykendall 8c0ae57065 Adds methods that fetch a Github user's email addresses. 2014-12-29 04:10:56 -06:00
jeremykendall 0d25e02de7 Adds AbstractProvider::fetchProviderData().
New protected method is responsible for making the request to a
provided URL, allowing for multiple API endpoints to be used within the same
provider.

AbstractProvider::fetchUserDetails() remains, but now only builds the
user details URL and passes it to AbstractProvider::fetchProviderData().
2014-12-29 04:08:16 -06:00
Ben Ramsey a3fd10e9cf Merge pull request #187 from geofflancaster/master
update google scopes and endpoint to remove deprecated values
2014-12-29 05:01:03 -05:00
Sergio Vera 65810afe06 Added support for Github Enterprise 2014-12-23 16:16:50 +01:00
Geoff Lancaster 5952f5d8f5 updated spaces 2014-12-21 23:02:09 -06:00
Geoff 04d64d76b5 fixed long lines 2014-12-17 21:27:33 -06:00
Geoff 188be5bddd update google scopes and endpoint to remove deprecated values 2014-12-17 21:15:34 -06:00
Ben Ramsey e5efa75cff Merge pull request #163 from bajb/master
Improvements to AbstractProvider
2014-12-15 14:17:27 -06:00
Brooke Bryan bc3845d9e5 Code style improvements 2014-12-15 18:17:29 +00:00
Ben Ramsey 6684093ae0 Updating PHP Code Sniffer and fixing some CS violations 2014-12-15 11:57:30 -06:00
Brooke Bryan 85d88a449e Provide base methods for userUid, userEmail and userScreenName + Tests 2014-12-03 18:10:25 +00:00
Ben Ramsey 6629d50396 Merge pull request #167 from thephpleague/microsoft-oauth-endpoints
Updating authorize and token URLs for MSFT, according to #146
2014-12-03 09:38:13 -06:00
Ben Ramsey 76fa1614fd Merge pull request #171 from jildertmiedema/coverage
coverage of exception
2014-12-02 07:47:43 -06:00
Jildert Miedema 55de45401e cs fix 2014-12-01 23:13:35 +01:00
Jildert Miedema e8573b1df4 inserting a redirect callback 2014-12-01 23:10:06 +01:00
Jildert Miedema 7f4f5a501d coverage of exception 2014-12-01 21:42:43 +01:00
Ben Ramsey c4c8c23df3 Use property_exists() instead of isset() in AbstractProvider (fixes #134) 2014-11-28 16:11:26 -05:00
Ben Ramsey 3cc216827c Updating authorize and token URLs for MSFT, according to #146 2014-11-28 15:40:56 -05:00
Ben Ramsey 115259b3cb Merge branch 'linkedin' of github.com:ricick/oauth2-client into ricick-linkedin 2014-11-28 15:10:40 -05:00
Ben Ramsey b3e449ee6b Merge branch 'master' of github.com:aripringle/oauth2-client into aripringle-master
Conflicts:
	test/src/Provider/GoogleTest.php
2014-11-28 14:48:42 -05:00
Troy Pavlek 5a609fd566 Added some documentation detailing custom uids 2014-11-28 09:56:52 -07:00
Troy Pavlek a0eee9f111 Removed extra space in conditional 2014-11-28 09:23:54 -07:00
Troy Pavlek 44f7c19b07 Draft implementation of properly setting UIDs in a provider specific fashion 2014-11-27 09:02:48 -07:00
Ben Ramsey d966614804 Merge pull request #136 from tpavlek/add_bnet_accountId
Updated AccessToken to support Battle.net accountId return values
2014-11-27 17:08:08 -05:00
Ben Ramsey 1eed232b5a Merge pull request #158 from GrahamCampbell/cs
CS Fixes
2014-11-27 17:01:33 -05:00
Troy Pavlek f781892dcb merged up to the latest master 2014-11-27 07:36:10 -07:00
Matus Zeman ce1915643c state param for AbstractProvider::getAuthorizationUrl() 2014-11-26 14:57:23 +01:00
Kevin Dierkx 6f3a2a90f8 Added ClientCredentials and Password Grants including tests 2014-11-20 11:39:02 +01:00
Graham Campbell ca6745027a CS fixes 2014-11-08 21:30:40 +00:00
Ari Pringle b068fc0af5 Merge remote branch 'upstream/master' 2014-10-27 09:11:10 -06:00
Jildert Miedema d02b238bc2 Reduced line length 2014-10-27 10:42:39 +01:00
Dustin Wheeler 031fa0ec83 Fixes PSR formatting causing build failures. 2014-10-22 21:31:27 -04:00
Troy Pavlek aa2cab090f Updated AccessToken to support Battle.net accountId return values 2014-09-12 06:49:34 -06:00
Phil Douglas bae3b4d927 Made linkedin pictureurl an optional response data element 2014-07-30 14:52:52 +10:00
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