code: def register_endpoints(self):
          
          url_map = []
          sp_endpoints = self.sp.config.getattr("endpoints", "sp")
          for endp, binding in sp_endpoints["assertion_consumer_service"]:
              parsed_endp = urlparse(endp)
              url_map.append(("^%s$" % parsed_endp.path[1:], functools.partial(self.authn_response, binding=binding)))
  
          if self.discosrv:
              for endp, binding in sp_endpoints["discovery_response"]:
                  parsed_endp = urlparse(endp)
                  url_map.append(
                      ("^%s$" % parsed_endp.path[1:], self.disco_response))
  
          if self.expose_entityid_endpoint():
              parsed_entity_id = urlparse(self.sp.config.entityid)
              url_map.append(("^{0}".format(parsed_entity_id.path[1:]),
                              self._metadata_endpoint))
  
          return url_map
docs: See super class method satosa.backends.base.BackendModule#register_endpoints
          :rtype list[(str, ((satosa.context.Context, Any) -> Any, Any))]