6 Commits

Author SHA1 Message Date
2b05dac071 Api Key role is now correcty added do middleware context 2015-01-16 16:15:35 +01:00
22156fe309 Big refactoring for context.User, and how current user info is fetching, now included collaborator role 2015-01-16 14:32:18 +01:00
aa9ca68883 Tokens small fixes 2015-01-16 12:28:35 +01:00
9feb8a73fd Added binding to tokens api and role validation 2015-01-16 12:06:24 +01:00
f858f6b621 Add collaborator now handles role, added macaron-contrib/binding for binding and validation 2015-01-16 11:54:19 +01:00
7b17e38f5d add Token authentication support
Added CRUD methods for Tokens.
Extend Auth Handler to check for the presence of a Bearer Authorization
header to authenticate against. If there is no header, or the token is not
valid, the Auth Handler falls back to looking for a Session.
2015-01-14 16:33:34 +08:00