diff options
author | David Baker <dbkr@users.noreply.github.com> | 2016-06-02 14:31:35 +0100 |
---|---|---|
committer | David Baker <dbkr@users.noreply.github.com> | 2016-06-02 14:31:35 +0100 |
commit | fb2193cc63c8297238423f0df547d4527a41eefc (patch) | |
tree | c62b3850a6fefbde1e8ab3bf63b8f279dd3075f0 /synapse/server.py | |
parent | Disable INCLUDE_ALL_UNREAD_NOTIFS (diff) | |
parent | Split out the auth handler (diff) | |
download | synapse-fb2193cc63c8297238423f0df547d4527a41eefc.tar.xz |
Merge pull request #817 from matrix-org/dbkr/split_out_auth_handler
Split out the auth handler
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/server.py b/synapse/server.py index 7cf22b1eea..dd4b81c658 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -33,6 +33,7 @@ from synapse.handlers.presence import PresenceHandler from synapse.handlers.sync import SyncHandler from synapse.handlers.typing import TypingHandler from synapse.handlers.room import RoomListHandler +from synapse.handlers.auth import AuthHandler from synapse.handlers.appservice import ApplicationServicesHandler from synapse.state import StateHandler from synapse.storage import DataStore @@ -89,6 +90,7 @@ class HomeServer(object): 'sync_handler', 'typing_handler', 'room_list_handler', + 'auth_handler', 'application_service_api', 'application_service_scheduler', 'application_service_handler', @@ -190,6 +192,9 @@ class HomeServer(object): def build_room_list_handler(self): return RoomListHandler(self) + def build_auth_handler(self): + return AuthHandler(self) + def build_application_service_api(self): return ApplicationServiceApi(self) |