Commit Graph

213 Commits

Author SHA1 Message Date
Daniel Horrigan
c12472857b Changed Case of Oauth2 namespace to OAuth2 namespace 2013-01-08 16:35:29 -05:00
Daniel Horrigan
385111a1f2 Merge branch 'cleanup' of github.com:dandoescode/OAuth2 into feature/reorg
Conflicts:
	src/OAuth2/Authentication/Server.php
	src/Oauth2/Resource/Server.php
2013-01-08 16:26:17 -05:00
Nick Jackson
608bcb767b Bearer token now correctly base64 decoding 2013-01-08 15:52:17 +00:00
Daniel Horrigan
89e89a73dc Changing 'user_credentials' to password 2013-01-07 10:31:28 -05:00
Daniel Horrigan
2fecadd2a6 Fixing Resource bugs and moving the Request dep to a setter. 2013-01-04 17:21:24 -05:00
Daniel Horrigan
373ddf9f34 Changing Case in namespaces 2013-01-04 14:55:13 -05:00
Daniel Horrigan
a3fd22b3dd Changing Case 2013-01-04 14:44:58 -05:00
Alex Bilbie
94945ec49e Added support for refresh tokens, user credentials and client credentials grant. 100% unit test code coverage for authentication. Fixes #2 2013-01-02 19:14:22 +00:00
Daniel Horrigan
31b36f23e7 Starting the reorganization 2012-12-28 15:12:16 -05:00
Alex Bilbie
0876fd9ad3 Spacing fixes 2012-12-23 22:12:51 +00:00
Alex Bilbie
2545ea7dc1 Added refresh token params and examples 2012-12-23 22:12:44 +00:00
Alex Bilbie
0f30b2a803 Removed lots of unnecessary if/else blocks.
Removed null value of expires/expiresIn parameter
2012-12-23 21:21:37 +00:00
Daniel Horrigan
0f6f5e2939 Added the user_credentials and refresh_token grants. Fixed expires_in so it is inline with the spec, but added expires for the old usage of expires_in. Made redirect_uri in oauth_sessions ALLOW NULL since user_credential grants don't have a redirect 2012-12-19 16:12:48 -05:00
Alex Bilbie
aa978d3581 Fix variable name 2012-12-12 11:43:01 +00:00
Alex Bilbie
1be25955d6 Merge branch 'release/0.3.4' 2012-12-11 15:33:05 +00:00
Alex Bilbie
302bf1f70d Clean trailing whitespace 2012-12-11 15:31:42 +00:00
Alex Bilbie
6553fb3f22 Return client details 2012-12-11 12:09:56 +00:00
Alex Bilbie
fdfe80289a Merge branch 'release/0.3.3'. Release version 0.3.3
Conflicts:
	composer.json
2012-12-10 21:31:58 +00:00
Alex Bilbie
912cd3fa25 Changed session stage to 'requested' as per enum 2012-12-10 21:19:11 +00:00
Alex Bilbie
a5b83c00bd Version bump 2012-11-20 15:29:43 +00:00
Alex Bilbie
958eab33a7 Lots of small documentation updates and clarifications 2012-11-20 15:27:33 +00:00
Alex Bilbie
fead044830 Spacing fixes and fixed sessionScopes() example query 2012-11-20 15:27:15 +00:00
Alex Bilbie
99f54d1a02 Missing provider class
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-10-14 17:33:22 +01:00
Alex Bilbie
cca5ae6229 Merge branch 'feature/clients' into develop 2012-10-14 17:18:52 +01:00
Alex Bilbie
b1082ecb41 Lots of updates so it all works now
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-10-14 17:18:27 +01:00
Alex Bilbie
af83b1e80e Added urlUserInfo() method
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-10-12 14:42:36 +01:00
Alex Bilbie
92ace5c6e5 Fixed PHP error with missing bracket
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-10-12 13:09:56 +01:00
Alex Bilbie
5ed4a8a2c4 Don't base64 decode the bearer token
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-10-10 09:32:50 +01:00
Alex Bilbie
ddfb355280 Code beautification 2012-10-05 15:24:59 +01:00
Alex Bilbie
ac3743027b Code beautification 2012-10-05 15:22:29 +01:00
Alex Bilbie
a76fbcd23d Epic rewriting to use Guzzle
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-10-05 15:05:27 +01:00
Alex Bilbie
bef7a212e3 Fixes and cleanup
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-10-05 15:03:15 +01:00
Alex Bilbie
ec191cffe1 Cleanup
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-10-05 15:02:56 +01:00
Alex Bilbie
5c13c3ee54 Namespace fixes
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-10-05 15:01:09 +01:00
Alex Bilbie
52bd18a2b4 Fixed namespaces in providers
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-10-05 15:00:51 +01:00
Alex Bilbie
6d1702a15d Merge branch 'develop' into feature/clients 2012-09-19 23:29:40 +01:00
Alex Bilbie
7d50b8e812 Moved SQL files
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-09-19 19:59:00 +01:00
Alex Bilbie
3c2720ece4 Renamed exceptions
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-09-19 19:52:52 +01:00
Alex Bilbie
ed2cabc5b6 Merge branch 'master' of github.com:lncd/OAuth2
Conflicts:
	composer.json

Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-09-19 19:32:31 +01:00
Alex Bilbie
3f3b987fb1 Check responses from the database are valid 2012-09-19 19:27:04 +01:00
Alex Bilbie
c993a0cdc0 Use namespace, use PSR, get rid of Pyro settings 2012-09-04 14:50:20 +01:00
Alex Bilbie
9dfa485bcb PSR fixes 2012-09-04 14:49:56 +01:00
Alex Bilbie
c760667448 PSR style class braces 2012-09-04 12:43:18 +01:00
Alex Bilbie
0298f6fb7d Include IDP.php 2012-09-04 12:42:33 +01:00
Alex Bilbie
17b7bf7d1d Test if provider config exists 2012-09-04 12:40:32 +01:00
Alex Bilbie
ed6301a497 Renamed provider.php to IDP.php 2012-09-04 12:40:02 +01:00
Alex Bilbie
c423ef810f Require instead of include 2012-09-04 12:33:17 +01:00
Alex Bilbie
485a3772b6 Changed function to __construct 2012-09-04 12:32:59 +01:00
Alex Bilbie
6f03eec814 Class rename 2012-09-04 12:32:44 +01:00
Alex Bilbie
0a5455642f PSR style if/else block 2012-09-04 12:31:04 +01:00