0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-10-30 11:18:54 +01:00
synapse/tests
Daniel Wagner-Hall 2d3462714e Issue macaroons as opaque auth tokens
This just replaces random bytes with macaroons. The macaroons are not
inspected by the client or server.

In particular, they claim to have an expiry time, but nothing verifies
that they have not expired.

Follow-up commits will actually enforce the expiration, and allow for
token refresh.

See https://bit.ly/matrix-auth for more information
2015-08-18 14:22:02 +01:00
..
api Merge branch 'develop' into application-services 2015-02-11 16:43:26 +00:00
appservice Make the appservice use 'users_in_room' rather than get_room_members since it is cached 2015-05-22 11:01:28 +01:00
federation Make work in both Maria and SQLite. Fix tests 2015-04-01 14:12:33 +01:00
handlers Issue macaroons as opaque auth tokens 2015-08-18 14:22:02 +01:00
metrics Add an .inc_by() method to CounterMetric; implement DistributionMetric a neater way 2015-03-12 16:24:51 +00:00
rest Use the same reg paths as register v1 for ASes. 2015-07-29 10:00:54 +01:00
storage Change Cache to not use *args in its interface 2015-08-07 18:32:47 +01:00
util Add a lru cache class 2015-02-11 14:52:23 +00:00
__init__.py fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 2014-09-03 17:31:57 +01:00
test_distributor.py Remove call to recently removed function in mock 2015-08-11 16:54:06 +01:00
test_state.py Fix tests 2015-02-09 14:23:57 +00:00
test_test_utils.py Implement .cancel_call_later() in MockClock 2014-12-10 19:26:52 +00:00
test_types.py Replace hs.parse_roomalias with RoomAlias.from_string 2015-01-23 13:21:58 +00:00
unittest.py Don't make @unittest.DEBUG print the huge amount of verbosity generated by the synapse.storage loggers 2015-01-12 18:16:27 +00:00
utils.py Issue macaroons as opaque auth tokens 2015-08-18 14:22:02 +01:00