Commit Graph

1211 Commits

Author SHA1 Message Date
Alex Bilbie
d25ef6bb89 Fixed adding scope to a session 2012-07-25 12:22:51 +01:00
Alex Bilbie
bb4ca4eb37 Fixed relationships between oauth_session_scope table and oauth_sessions 2012-07-25 12:22:31 +01:00
Alex Bilbie
03fd7aa501 Removed typecasting 2012-07-25 12:18:12 +01:00
Alex Bilbie
854ea81ed8 Fixing hasSession 2012-07-25 12:07:08 +01:00
Alex Bilbie
e860ca0d0a Reworked update session 2012-07-25 12:06:33 +01:00
Alex Bilbie
1d129e4af8 Reworked query of hasSession 2012-07-25 12:06:15 +01:00
Alex Bilbie
d5c8983293 Removed typecasting of parameters and tidied up appearance 2012-07-25 12:03:50 +01:00
Alex Bilbie
411cab1734 Reworked newAuthoriseRequest method so that is always creates a new session (and removes any existing sessions) 2012-07-25 12:03:25 +01:00
Alex Bilbie
17ce8b97d8 Removed typecasting 2012-07-25 12:02:41 +01:00
Alex Bilbie
d4026677e4 Added access_token_expire option (for refresh token support) 2012-07-25 12:02:23 +01:00
Alex Bilbie
7201d3ad88 Fixed folder name 2012-07-23 14:42:36 +01:00
Alex Bilbie
e15e606d0b Temp fix for folder name 2012-07-23 14:42:15 +01:00
Alex Bilbie
2b17c1f7af Fixed namespaces 2012-07-23 14:41:32 +01:00
Alex Bilbie
f346fde718 Fixed naming issues 2012-07-23 14:41:15 +01:00
Alex Bilbie
e0361d897f Updated composer.json 2012-07-23 14:22:05 +01:00
Alex Bilbie
d7cde41fb1 Changed the namespace to "OAuth2" 2012-07-20 17:49:59 +01:00
Alex Bilbie
2e653ca351 Renamed folder 2012-07-20 17:49:06 +01:00
Alex Bilbie
2b6db69a5a Added comment to explain code that removes invalid scopes 2012-07-20 15:57:56 +01:00
Alex Bilbie
a292c4fe86 Fixed for loop parameter order. FOOL. 2012-07-20 15:56:56 +01:00
Alex Bilbie
4cc2a890b0 Fixed line lengths 2012-07-20 15:44:07 +01:00
Alex Bilbie
0638bc39d9 Missing $type in fund call 2012-07-20 15:43:08 +01:00
Alex Bilbie
386b5794e7 Updated exceptions to use exception codes and sprintf to state which parameters or scopes are wrong 2012-07-20 15:41:04 +01:00
Alex Bilbie
e3b2c4a95c Renamed interface file 2012-07-20 11:25:58 +01:00
Alex Bilbie
971f7bf402 Renamed inteface to Database 2012-07-20 11:25:29 +01:00
Alex Bilbie
f154708031 Renamed class 2012-07-20 11:22:31 +01:00
Alex Bilbie
63435154f4 Rename back to Server.php 2012-07-20 11:22:04 +01:00
Alex Bilbie
7f6d2db0a2 renamed class as test 2012-07-20 11:20:58 +01:00
Alex Bilbie
eb0756e7e0 Fixed line length 2012-07-20 11:06:20 +01:00
Alex Bilbie
5c32269ad4 Renamed the file to AuthServer.php 2012-07-20 11:05:26 +01:00
Alex Bilbie
b1a55806a8 Changed the class to AuthServer 2012-07-20 11:04:23 +01:00
Alex Bilbie
727cdb54e7 Lots of docblock updates 2012-07-20 11:04:08 +01:00
Alex Bilbie
e8db4ee20e Fixed line lengths of comments 2012-07-19 15:34:19 +01:00
Alex Bilbie
3998f1414a Clarified license type 2012-07-19 15:32:38 +01:00
Alex Bilbie
0b0ab19ccb Finished final docblock SQL statements and descriptions.
TODO: finish return types
2012-07-19 15:30:52 +01:00
Alex Bilbie
3ab685f8e3 Updated docblocks for almost all of the methods 2012-07-16 18:11:50 +01:00
Alex Bilbie
78551b0859 Added parameter doc blocks 2012-07-16 16:47:54 +01:00
Alex Bilbie
d5f0ac479b Added NULL default back to $clientSecret and $redirectUri 2012-07-16 15:46:02 +01:00
Alex Bilbie
d0a40f208c Moved license into it's own file 2012-07-16 15:28:29 +01:00
Alex Bilbie
f98c705fff Renamed interface file 2012-07-16 15:27:46 +01:00
Alex Bilbie
36c2513a7f Removed type hints and changed the name of the class 2012-07-16 15:27:24 +01:00
Alex Bilbie
ad562ce270 Removed the abstract class 2012-07-16 15:27:11 +01:00
Alex Bilbie
4eacf97dff Added a test class to make debugging easier 2012-07-13 09:41:21 +01:00
Alex Bilbie
ad26632a71 Created an abstract class 2012-07-12 15:11:29 +01:00
Alex Bilbie
96435463bc Added use statement to hopefully pull in the OAuth2ServerDatabase interface 2012-07-12 15:07:34 +01:00
Alex Bilbie
ec706fc950 Added namespace to the interface 2012-07-12 15:00:30 +01:00
Alex Bilbie
3c6ad24f22 Changed the namespace to oauth2server 2012-07-12 14:57:29 +01:00
Alex Bilbie
813b19cb7a Removed the type hinting otherwise it tries to extend OAuth2\object which doesn't exist 2012-07-11 17:04:00 +01:00
Alex Bilbie
8b7b70f432 Extend the default PHP Exception class 2012-07-11 17:03:14 +01:00
Alex Bilbie
7edb832c45 Changed spacing to tabs 2012-07-11 17:02:32 +01:00
Alex Bilbie
85e8fe8087 Updated description 2012-07-11 16:27:10 +01:00