MCPcopy
hub / github.com/httpie/cli / get_auth_plugin_mapping

Method get_auth_plugin_mapping

httpie/plugins/manager.py:86–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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]

Callers 1

get_auth_pluginMethod · 0.95

Calls 1

get_auth_pluginsMethod · 0.95

Tested by

no test coverage detected