forked-synapse/synapse/api
Daniel Wagner-Hall 6a4b650d8a Attempt to validate macaroons
A couple of weird caveats:
 * If we can't validate your macaroon, we fall back to checking that
   your access token is in the DB, and ignoring the failure
 * Even if we can validate your macaroon, we still have to hit the DB to
   get the access token ID, which we pretend is a device ID all over the
   codebase.

This mostly adds the interesting code, and points out the two pieces we
need to delete (and necessary conditions) in order to fix the above
caveats.
2015-08-26 13:22:23 +01:00
..
__init__.py Update copyright notices 2015-01-06 13:21:39 +00:00
auth.py Attempt to validate macaroons 2015-08-26 13:22:23 +01:00
constants.py Add m.room.avatar to default power levels. Change default required power levels of such events to 50 2015-08-20 14:35:40 +01:00
errors.py Add endpoint that proxies ID server request token and errors if the given email is in use on this Home Server. 2015-08-04 14:37:09 +01:00
filtering.py Use 'in' to test if the key exists, remove unused _filters_for_user 2015-01-30 14:54:06 +00:00
ratelimiting.py Update copyright notices 2015-01-06 13:21:39 +00:00
urls.py Add a version 2 of the key server api 2015-04-14 16:04:52 +01:00