pseudocms/app-api — pull request #1 by pseudomuto (2014-04-25 15:30:54+00:00)
Title: Adding Doorkeeper

Adding doorkeeper and related configuration to support oauth.

From any of the controllers, you can access the current user (based on the token), but using `current_resource_owner`. This will return a `User` object for the current user.

When testing, use the `authenticate_as` method to properly stub the token.