jghibiki / mopey

A mopidy web client and api stack intended for a user request based music system. Will include a karma and user management system to help mitigate spam requests.
MIT License
1 stars 0 forks source link

Add admin boolean to API authentication response #49

Closed jghibiki closed 9 years ago

jghibiki commented 9 years ago

Authentication API should also check to see if the user is an admin and then return:

{"access_token": "<token>", "expiration_date": "<expiration_date>", "admin": "<true/false>"}