(self)
| 84 | return self.filter(AuthPlugin) |
| 85 | |
| 86 | def get_auth_plugin_mapping(self) -> Dict[str, Type[AuthPlugin]]: |
| 87 | return { |
| 88 | plugin.auth_type: plugin for plugin in self.get_auth_plugins() |
| 89 | } |
| 90 | |
| 91 | def get_auth_plugin(self, auth_type: str) -> Type[AuthPlugin]: |
| 92 | return self.get_auth_plugin_mapping()[auth_type] |
no test coverage detected