mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
6fe6a6f029
login with token (as used by CAS auth) was broken by 067596d
, such that it
always returned a 401.
30 lines
760 B
Python
30 lines
760 B
Python
import synapse.api.auth
|
|
import synapse.handlers
|
|
import synapse.handlers.auth
|
|
import synapse.handlers.device
|
|
import synapse.handlers.e2e_keys
|
|
import synapse.storage
|
|
import synapse.state
|
|
|
|
class HomeServer(object):
|
|
def get_auth(self) -> synapse.api.auth.Auth:
|
|
pass
|
|
|
|
def get_auth_handler(self) -> synapse.handlers.auth.AuthHandler:
|
|
pass
|
|
|
|
def get_datastore(self) -> synapse.storage.DataStore:
|
|
pass
|
|
|
|
def get_device_handler(self) -> synapse.handlers.device.DeviceHandler:
|
|
pass
|
|
|
|
def get_e2e_keys_handler(self) -> synapse.handlers.e2e_keys.E2eKeysHandler:
|
|
pass
|
|
|
|
def get_handlers(self) -> synapse.handlers.Handlers:
|
|
pass
|
|
|
|
def get_state_handler(self) -> synapse.state.StateHandler:
|
|
pass
|