Add middleware to ensure a user is logged in.
Add trusted flag to API clients so that some clients can be marked as always getting granted any requested scopes, such as the new malt.io website.
Add web views for managing login, your account, oauth grants and access tokens with the web-flow, and add very basic unit tests for logging in and out.
Use client.id in favor of client.key and remove the key entirely, which makes a whole bunch of things easier on the back end. Updated unit tests and API calls to reflect this change.
Prevent creating multiple access tokens for the same client/user grant; OAuth web flow unit tests
Merge pull request #1 from homebrewing/web-flow

Add HTML views and OAuth2 Web Flow