adds user id to api_keys table
creates an api key for the user after a user is created
adds format: json to api defaults
the birth of the session infrastructure
skip authenticate on user and session create
adds access token stored in redis for api authentication
moves token generation into the initialize method
hooks token auth into all controllers at the base
creates a token and associates a user to that token on successful login
returns just the token required for authentication
authenticate checks to ensure the access token has not expired and it has a user (signed in)
api_key will be used to validate client and not users
returns not_authorized if login fails rather than returning a useless token
limits user actions to the context of the currently signed in user
creates a fake redis for testing purposes
adds model specs for AccessToken
updated gems
moves controller specs to the right place and removes url_helpers
removes unecessary auth helper file
adds accesstoken helper methods for controller specs