Commit Graph

  • 0748ba379b test executable Alex Bilbie 2012-08-01 17:15:48 +0100
  • 1409df6eb4 Started adding tests for auth server Alex Bilbie 2012-08-01 17:15:29 +0100
  • d0bb79bd7c Added phpunit.xml Alex Bilbie 2012-08-01 17:15:16 +0100
  • 9935cc5d21 JSON error fix Alex Bilbie 2012-08-01 15:44:03 +0100
  • 93772d0f70 Require PHPunit in dev composer mode Alex Bilbie 2012-08-01 15:41:41 +0100
  • 5ef85e53af Removed old test file Alex Bilbie 2012-08-01 15:41:24 +0100
  • 5c463a69b8 Little fixes Alex Bilbie 2012-08-01 14:50:31 +0100
  • f049997f59 Various spacing fixes 0.1 Alex Bilbie 2012-07-31 16:16:38 +0100
  • 3f2f25a6a7 PSR2 wants a blank line at the end of the file Alex Bilbie 2012-07-31 16:00:55 +0100
  • 18ad2067a1 SQL clarrification Alex Bilbie 2012-07-31 15:52:02 +0100
  • 2b9d1c0e67 Variable reference fixes Alex Bilbie 2012-07-30 14:06:46 +0100
  • 4abe7e7dda Spelling fix Alex Bilbie 2012-07-30 12:10:22 +0100
  • ef928b19cf Fixed HTTP method for getting code parameter Alex Bilbie 2012-07-30 12:10:13 +0100
  • 8c991b0c61 Line length fix Alex Bilbie 2012-07-30 12:08:53 +0100
  • f8941a9209 Removed hard line limit of 80 characters Alex Bilbie 2012-07-26 17:02:01 +0100
  • 8946e0172b Added resource server database Alex Bilbie 2012-07-26 12:54:29 +0100
  • 9df1c8e20d Fixed incorrect parameter name Alex Bilbie 2012-07-26 12:53:07 +0100
  • 9ead06077c Updated rule reference to use the official PSR sniffs from https://github.com/squizlabs/PHP_CodeSniffer Alex Bilbie 2012-07-26 12:52:48 +0100
  • c2ac787f09 Fixed placement of grant comments to stop PHPCS bitching Alex Bilbie 2012-07-25 16:15:14 +0100
  • 10898ed8d4 Changed indentation to spaces Alex Bilbie 2012-07-25 16:14:16 +0100
  • 7027eab507 Fixed errors relating to response types and grant type variables being moved into their own variables Alex Bilbie 2012-07-25 16:08:41 +0100
  • 26751ef6b9 Broke up the issueAccessToken method to support additional grant types Alex Bilbie 2012-07-25 16:06:37 +0100
  • 8286724d56 Removed typecasting Alex Bilbie 2012-07-25 16:05:55 +0100
  • df9c762b2e Class variable docblocks Alex Bilbie 2012-07-25 16:05:45 +0100
  • 4f343cbe42 Broke the supported response types and authorisation grants out into their own variables Alex Bilbie 2012-07-25 16:04:52 +0100
  • 0d060d6560 Added empty resource server file Alex Bilbie 2012-07-25 15:18:58 +0100
  • 3ca2abc0ae Updated namespaces Alex Bilbie 2012-07-25 15:18:49 +0100
  • def2f4822c Moved the files into a new folder ready for Client libraries and Resource server libraries Alex Bilbie 2012-07-25 15:16:56 +0100
  • 7ba0f4ee1a Fixed line lengths Alex Bilbie 2012-07-25 14:40:08 +0100
  • fdf71b758b Clarified return type of validateAuthCode method Alex Bilbie 2012-07-25 14:34:19 +0100
  • b15a2c09b3 Changed default stage parameter value to 'requested' from 'request' Alex Bilbie 2012-07-25 14:34:03 +0100
  • 817a93a909 Added new accessTokenExpire parameter Alex Bilbie 2012-07-25 14:33:32 +0100
  • fb1eb183ea Added new accessTokenExpire parameter Alex Bilbie 2012-07-25 14:33:02 +0100
  • 79ff22f48c Added new completeAuthCodeGrant method Alex Bilbie 2012-07-25 14:32:27 +0100
  • ee7308c0c9 Included extra default parameter for access token expiry Alex Bilbie 2012-07-25 14:31:52 +0100
  • d9953ef1ed Changed scope of newAuthCode method to private Alex Bilbie 2012-07-25 14:31:32 +0100
  • 3c599e5454 Changed the error thrown if the client credentials are invalid to invalid_client Alex Bilbie 2012-07-25 14:31:09 +0100
  • fd1fe96c07 Removed typehinting Alex Bilbie 2012-07-25 14:30:39 +0100
  • a23bb301c0 Added more error messages and codes Alex Bilbie 2012-07-25 14:30:24 +0100
  • b0bd812da2 Changed $config['access_token_expire'] to $config['access_token_ttl']. Default value is now null Alex Bilbie 2012-07-25 14:29:58 +0100
  • 5d012c6cf4 Added access_token_expires column to oauth_sessions table Alex Bilbie 2012-07-25 14:29:04 +0100
  • d25ef6bb89 Fixed adding scope to a session Alex Bilbie 2012-07-25 12:22:51 +0100
  • bb4ca4eb37 Fixed relationships between oauth_session_scope table and oauth_sessions Alex Bilbie 2012-07-25 12:22:31 +0100
  • 03fd7aa501 Removed typecasting Alex Bilbie 2012-07-25 12:18:12 +0100
  • 854ea81ed8 Fixing hasSession Alex Bilbie 2012-07-25 12:07:08 +0100
  • e860ca0d0a Reworked update session Alex Bilbie 2012-07-25 12:06:33 +0100
  • 1d129e4af8 Reworked query of hasSession Alex Bilbie 2012-07-25 12:06:15 +0100
  • d5c8983293 Removed typecasting of parameters and tidied up appearance Alex Bilbie 2012-07-25 12:03:50 +0100
  • 411cab1734 Reworked newAuthoriseRequest method so that is always creates a new session (and removes any existing sessions) Alex Bilbie 2012-07-25 12:03:25 +0100
  • 17ce8b97d8 Removed typecasting Alex Bilbie 2012-07-25 12:02:41 +0100
  • d4026677e4 Added access_token_expire option (for refresh token support) Alex Bilbie 2012-07-25 12:02:23 +0100
  • 7201d3ad88 Fixed folder name Alex Bilbie 2012-07-23 14:42:36 +0100
  • e15e606d0b Temp fix for folder name Alex Bilbie 2012-07-23 14:42:15 +0100
  • 2b17c1f7af Fixed namespaces Alex Bilbie 2012-07-23 14:41:32 +0100
  • f346fde718 Fixed naming issues Alex Bilbie 2012-07-23 14:41:15 +0100
  • e0361d897f Updated composer.json Alex Bilbie 2012-07-23 14:22:05 +0100
  • d7cde41fb1 Changed the namespace to "OAuth2" Alex Bilbie 2012-07-20 17:49:59 +0100
  • 2e653ca351 Renamed folder Alex Bilbie 2012-07-20 17:49:06 +0100
  • 2b6db69a5a Added comment to explain code that removes invalid scopes Alex Bilbie 2012-07-20 15:57:29 +0100
  • a292c4fe86 Fixed for loop parameter order. FOOL. Alex Bilbie 2012-07-20 15:56:56 +0100
  • 4cc2a890b0 Fixed line lengths Alex Bilbie 2012-07-20 15:44:07 +0100
  • 0638bc39d9 Missing $type in fund call Alex Bilbie 2012-07-20 15:43:08 +0100
  • 386b5794e7 Updated exceptions to use exception codes and sprintf to state which parameters or scopes are wrong Alex Bilbie 2012-07-20 15:41:04 +0100
  • e3b2c4a95c Renamed interface file Alex Bilbie 2012-07-20 11:25:58 +0100
  • 971f7bf402 Renamed inteface to Database Alex Bilbie 2012-07-20 11:25:29 +0100
  • f154708031 Renamed class Alex Bilbie 2012-07-20 11:22:31 +0100
  • 63435154f4 Rename back to Server.php Alex Bilbie 2012-07-20 11:22:04 +0100
  • 7f6d2db0a2 renamed class as test Alex Bilbie 2012-07-20 11:20:58 +0100
  • eb0756e7e0 Fixed line length Alex Bilbie 2012-07-20 11:06:20 +0100
  • 5c32269ad4 Renamed the file to AuthServer.php Alex Bilbie 2012-07-20 11:05:26 +0100
  • b1a55806a8 Changed the class to AuthServer Alex Bilbie 2012-07-20 11:04:23 +0100
  • 727cdb54e7 Lots of docblock updates Alex Bilbie 2012-07-20 11:04:08 +0100
  • e8db4ee20e Fixed line lengths of comments Alex Bilbie 2012-07-19 15:34:19 +0100
  • 3998f1414a Clarified license type Alex Bilbie 2012-07-19 15:32:38 +0100
  • 0b0ab19ccb Finished final docblock SQL statements and descriptions. Alex Bilbie 2012-07-19 15:30:52 +0100
  • 3ab685f8e3 Updated docblocks for almost all of the methods Alex Bilbie 2012-07-16 18:11:50 +0100
  • 78551b0859 Added parameter doc blocks Alex Bilbie 2012-07-16 16:47:54 +0100
  • d5f0ac479b Added NULL default back to $clientSecret and $redirectUri Alex Bilbie 2012-07-16 15:46:02 +0100
  • d0a40f208c Moved license into it's own file Alex Bilbie 2012-07-16 15:28:29 +0100
  • f98c705fff Renamed interface file Alex Bilbie 2012-07-16 15:27:46 +0100
  • 36c2513a7f Removed type hints and changed the name of the class Alex Bilbie 2012-07-16 15:27:24 +0100
  • ad562ce270 Removed the abstract class Alex Bilbie 2012-07-16 15:27:11 +0100
  • 4eacf97dff Added a test class to make debugging easier Alex Bilbie 2012-07-13 09:41:21 +0100
  • ad26632a71 Created an abstract class Alex Bilbie 2012-07-12 15:11:29 +0100
  • 96435463bc Added use statement to hopefully pull in the OAuth2ServerDatabase interface Alex Bilbie 2012-07-12 15:07:34 +0100
  • ec706fc950 Added namespace to the interface Alex Bilbie 2012-07-12 15:00:30 +0100
  • 3c6ad24f22 Changed the namespace to oauth2server Alex Bilbie 2012-07-12 14:57:29 +0100
  • 813b19cb7a Removed the type hinting otherwise it tries to extend OAuth2\object which doesn't exist Alex Bilbie 2012-07-11 17:04:00 +0100
  • 8b7b70f432 Extend the default PHP Exception class Alex Bilbie 2012-07-11 17:03:14 +0100
  • 7edb832c45 Changed spacing to tabs Alex Bilbie 2012-07-11 17:02:32 +0100
  • 85e8fe8087 Updated description Alex Bilbie 2012-07-11 16:27:10 +0100
  • cc9c12fd04 Fixed invalid JSON Alex Bilbie 2012-07-11 16:18:50 +0100
  • 9844652efb Fixed line length of license Alex Bilbie 2012-07-11 14:01:13 +0100
  • aa3a467aa2 Added homepage Alex Bilbie 2012-07-09 16:48:26 +0100
  • ff4e78e575 Changed namespace Alex Bilbie 2012-07-09 16:48:14 +0100
  • f8417f2a4a Added MIT license Alex Bilbie 2012-07-09 16:41:46 +0100
  • c8944419fa Added initial DB structure Alex Bilbie 2012-07-09 16:40:03 +0100
  • 22f397efc3 Added SQL folder with index.html Alex Bilbie 2012-07-09 16:39:53 +0100
  • 938c54888f Fixed variable name Alex Bilbie 2012-07-06 19:32:27 +0100
  • 2ba9a1d279 Comment changes Alex Bilbie 2012-07-06 19:31:36 +0100