forked-synapse/synapse/rest/client/v2_alpha
Richard van der Hoff 0da0d0a29d rest/client/v2_alpha/register.py: Refactor flow somewhat.
This is meant to be an *almost* non-functional change, with the exception that
it fixes what looks a lot like a bug in that it only calls
`auth_handler.add_threepid` and `add_pusher` once instead of three times.

The idea is to move the generation of the `access_token` out of
`registration_handler.register`, because `access_token`s now require a
device_id, and we only want to generate a device_id once registration has been
successful.
2016-07-19 13:12:22 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Add a parse_json_object function 2016-03-09 11:26:26 +00:00
account_data.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
account.py Add hs object 2016-07-14 10:25:52 +01:00
auth.py Split out the auth handler 2016-06-02 13:31:45 +01:00
filter.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
keys.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
openid.py Rename openid/token to openid/request_token 2016-05-05 15:15:00 +01:00
receipts.py Move the presence handler out of the Handlers object 2016-05-16 18:56:37 +01:00
register.py rest/client/v2_alpha/register.py: Refactor flow somewhat. 2016-07-19 13:12:22 +01:00
report_event.py Add timestamp and auto incrementing ID 2016-05-04 15:19:12 +01:00
sync.py Move SyncHandler out of the Handlers object 2016-05-16 20:19:26 +01:00
tags.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
tokenrefresh.py Split out the auth handler 2016-06-02 13:31:45 +01:00