<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_method(self, cls_name):
 """ Generator that returns all registered authenticators based on a specific authentication class. :param acr: Authentication Class :return: generator """

        for id, spec in self.db.items():
            if spec["method"].__class__.__name__ == cls_name:
                yield spec["method"]