0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-19 08:24:25 +01:00
synapse/tests
Richard van der Hoff 40cbffb2d2 Further registration refactoring
* `RegistrationHandler.appservice_register` no longer issues an access token:
  instead it is left for the caller to do it. (There are two of these, one in
  `synapse/rest/client/v1/register.py`, which now simply calls
  `AuthHandler.issue_access_token`, and the other in
  `synapse/rest/client/v2_alpha/register.py`, which is covered below).

* In `synapse/rest/client/v2_alpha/register.py`, move the generation of
  access_tokens into `_create_registration_details`. This means that the normal
  flow no longer needs to call `AuthHandler.issue_access_token`; the
  shared-secret flow can tell `RegistrationHandler.register` not to generate a
  token; and the appservice flow continues to work despite the above change.
2016-07-19 18:46:19 +01:00
..
api Bug fix: expire invalid access tokens 2016-07-13 15:00:37 +02:00
appservice Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
config Add function to load config without generating it 2016-06-09 18:50:38 +01:00
crypto Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
events Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
handlers Add device_id support to /login 2016-07-18 16:39:44 +01:00
metrics Change CacheMetrics to be quicker 2016-06-03 11:26:52 +01:00
replication Remove room name & alias test 2016-06-24 13:34:20 +01:00
rest Further registration refactoring 2016-07-19 18:46:19 +01:00
storage Add device_id support to /login 2016-07-18 16:39:44 +01:00
util Add ReadWriteLock 2016-07-05 15:23:17 +01:00
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_distributor.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_dns.py Tests 2016-04-06 10:12:30 +01:00
test_state.py Create log context in Measure if one doesn't exist 2016-04-18 16:08:32 +01:00
test_test_utils.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_types.py Remove redundated BaseHomeServer 2016-01-26 13:52:29 +00:00
unittest.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
utils.py Rework ldap integration with ldap3 2016-06-22 17:51:59 +02:00