docs: def init_realms(self, realms):
          """
          :type realms: tuple
          """
          # this eliminates the need for an authorizing_realms attribute:
          self.realms = tuple(realm for realm in realms
                              if isinstance(realm, realm_abcs.AuthorizingRealm))
          self.register_cache_clear_listener()