oauth2-demo-php
oauth2-demo-php copied to clipboard
Make Code Easier to Follow
Lots of people get pointed here, but how is it to understand what's going on unless you have an understanding of silex?
The ansewr is... very hard!!. This is suppsed to be simple, so give these people a break!
- Change
LockdIn
toOAuth2_Server
- Change
Demo
toOAuth2_Client
- refactor
index.php
into something more intuitive - refactor Controller Provider into something more intuitive
All of these have been completed in 6d8b8c0
Some new ideas:
- Rename
Client.php
andServer.php
toRouting.php
, as all these do is declare the routes for the controller classes - Get rid of
addRoutes
on controller classes, and have this done by the routing classes - Find a home in
Shared
for the configuration logic currently inindex.php
- Find a better home for where the OAuth2 server is set up... currently in
Server.php