mozilla-sensorweb / sensorweb-server

Mozilla Public License 2.0
3 stars 6 forks source link

Session tokens must always contain clientId, userId (if any) and the list of allowed permissions #68

Open ferjm opened 7 years ago

ferjm commented 7 years ago

Right now we are generating two kind of session tokens:

Session tokens must always contain a client key, a list of allowed permissions, and may have or may not have a user associated. So we should end up with:

The list of permissions is tbd in #53