'Args:
hs (synapse.server.HomeServer): server'

def __init__(self, hs):

    super(RegisterRestServlet, self).__init__(hs)
    self.sessions = {}
    self.enable_registration = hs.config.enable_registration
    self.auth_handler = hs.get_auth_handler()
    self.handlers = hs.get_handlers()
