diff options
author | David Baker <dave@matrix.org> | 2016-06-02 13:31:45 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-06-02 13:31:45 +0100 |
commit | 4a10510cd5aff790127a185ecefc83b881a717cc (patch) | |
tree | f97be85047a563d33cbd234f36d271147ce664e9 /synapse/server.py | |
parent | Merge pull request #815 from matrix-org/dbkr/email_greeting_not_none (diff) | |
download | synapse-4a10510cd5aff790127a185ecefc83b881a717cc.tar.xz |
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) |