Commit Graph

314 Commits (c0f8ebf920056853b5add557063af550e73f37a3)

Author SHA1 Message Date
Alexandru Guzinschi c0f8ebf920 Added getResponseBody method in IDPException
Problem:

Some providers are sending additional information when an error occurs,
which can't be accessed because property `$result` is protected.

Solution:

Data from this property can be accessed using `getResponseBody()` method.

Closes #185
2015-02-26 12:50:11 +02:00
Ben Ramsey a86dbd4e58 Merge pull request #227 from shadowhand/patch-1
Add Square to 3rd party provider links
2015-02-24 10:34:58 -06:00
Ben Ramsey 021023f642 Merge pull request #226 from shadowhand/overload-access-token-response
Add additional method for modifying token response
2015-02-24 10:34:43 -06:00
Ben Ramsey ee69b69923 Merge pull request #225 from shadowhand/clean-up-providers
Clean out custom provider code from AccessToken
2015-02-24 10:32:36 -06:00
Woody Gilk 5caeed7d0c Add Square to 3rd party provider links 2015-02-23 12:52:35 -06:00
Woody Gilk 4d2e8d5669 add AbstractProvider::prepareAccessTokenResult for additional token response prep 2015-02-23 12:23:37 -06:00
Woody Gilk 6373453f78 remove custom provider code from AccessToken 2015-02-23 12:15:25 -06:00
Woody Gilk 7446829c3b replace custom code in AccessToken with Vkontakte::$uidKey 2015-02-23 12:14:37 -06:00
Ben Ramsey e18c99c999 Merge pull request #221 from jasonvarga/patch-1
Add link to Dropbox provider
2015-02-12 13:50:54 -05:00
Jason Varga 3f8614ce86 Add link to Dropbox provider 2015-02-12 13:22:39 -05:00
Ben Ramsey bb2d4e4be7 Merge pull request #220 from jasonvarga/master
Allow approval_prompt to be set through options
2015-02-12 12:10:16 -05:00
Jason Varga 7ec9bf717f Remove Dropbox Provider
This will be moved to its own package
2015-02-12 11:49:01 -05:00
Ben Ramsey 09259e9728 Bump dev-master branch alias to 0.8.x-dev 2015-02-10 11:44:45 -06:00
Ben Ramsey 07b4641046 Merge pull request #218 from dolfelt/master
Get reliable body response on error.
2015-02-10 12:37:29 -05:00
Daniel Olfelt c88b91dcda Get reliable body response on error. 2015-02-05 15:52:06 -06:00
Ben Ramsey 2a728475d0 Merge pull request #210 from SammyK/update-facebook-scope
Upgrade Facebook provider to Graph v2.2
2015-02-03 18:06:22 -06:00
Ben Ramsey 362b2f9cab Merge pull request #207 from AnduAanei/Google_access_type
Add support for specifying the access_type parameter for Google OAuth
2015-02-03 09:35:01 -06:00
Ben Ramsey 428a28efb1 Merge pull request #217 from tpavlek/add-twitch-client
Changes to additional providers
2015-02-03 09:27:33 -06:00
Troy Pavlek b1e2858ff9 Changes to additional providers
Added Twitch to the additional providers, and alphabetized the list for more grokkability.
2015-02-02 13:45:18 -07:00
Ben Ramsey 5e2d5065d9 Merge pull request #201 from CloudManaged/master
Add FreeAgent Third Party Provider to the documentation
2015-01-30 08:36:24 -06:00
Jason Varga 993add9398 Some tests 2015-01-29 10:05:23 -05:00
Jason Varga 823774bf6e Dropbox provider 2015-01-29 09:08:48 -05:00
Jason Varga c918e21cdb Allow approval_prompt to be set through options 2015-01-29 09:07:56 -05:00
Phil Sturgeon 0a59751e76 Merge pull request #211 from SammyK/kill-tabs
Update array syntax and spacing in README
2015-01-28 11:43:13 -05:00
SammyK c491b47fc2 Update array syntax and spacing in README 2015-01-26 12:30:42 -06:00
SammyK ebcb1b9abd Upgrade Facebook provider to Graph v2.2 2015-01-26 12:22:17 -06:00
Ben Ramsey d28e0489de Merge pull request #208 from rakeev/patch-1
Remove outdated eventbrite snippet
2015-01-26 09:42:23 -06:00
Phil Sturgeon af37027f8e Merge pull request #209 from rchavik/github-fix
Fix regression for Github provider
2015-01-26 10:21:55 -05:00
Rachman Chavik ffef5ea630 Fix regression for Github provider
Closes #197
Ref: https://github.com/thephpleague/oauth2-client/issues/197#issuecomment-69527969
2015-01-26 22:11:43 +07:00
Alexey 041ef04e78 Remove outdated eventbrite snippet 2015-01-26 16:17:12 +04:00
Andu 3afc1f9a05 Add docblock for the access_type variable in the Google provider 2015-01-20 14:11:23 +00:00
Andu 3af0792195 Update Google provider tests 2015-01-20 12:35:46 +00:00
Andu 6e6f1d46db Add access_type parameter for Google authorization url 2015-01-20 12:31:49 +00:00
Israel Sotomayor 4ad71baa74 Revert "Add token as param to the fetchProviderData method"
This reverts commit ff344b207c.
2015-01-09 17:58:17 +00:00
Israel Sotomayor c0d5151dea Link FreeAgent provider to the documentation 2015-01-09 14:40:49 +00:00
Israel Sotomayor ff344b207c Add token as param to the fetchProviderData method
- This will allow us to override this implementation and implement for example a Authorization Bearer strategy
2015-01-09 13:37:08 +00:00
Ben Ramsey ae0183803e Merge pull request #198 from re-24/develop
Fix UserTest.php namespace
2015-01-08 08:43:44 -06:00
hiroshi honma 707917df01 Fix UserTest.php namespace 2015-01-08 20:17:22 +09:00
Ben Ramsey 0a8e12a4f8 Merge pull request #194 from robstrong/hotfix_googleId
User id being set for Google API
2015-01-06 09:58:40 -06:00
Ben Ramsey a4c1c5b0db Merge pull request #196 from JC5/master
Updated README.md to include Google Nest provider
2015-01-06 09:55:21 -06:00
James Cole c2b5b28ed6 Updated README.md to include Google Nest provider 2015-01-06 15:16:03 +01:00
Rob Strong 3f442b1b74 id was not being returned by Google 2014-12-30 17:24:54 -05:00
Ben Ramsey 1d790ed19d Updating Composer branch alias for master to 0.7.x-dev 2014-12-29 06:01:20 -05:00
Ben Ramsey 374c3d41db Merge pull request #189 from jeremykendall/fix/github-get-user-email
Adds methods to allow fetching user email addresses from Github
2014-12-29 05:48:13 -05:00
jeremykendall 63d4bc6d94 Adds emails endpoint to GithubTest::testGithubEnterpriseDomainUrls 2014-12-29 04:19:32 -06:00
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