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

Method get_auth

tests/test_auth_plugins.py:35–39  ·  view source on GitHub ↗
(self, username=None, password=None)

Source from the content-addressed store, hash-verified

33 auth_parse = False
34
35 def get_auth(self, username=None, password=None):
36 assert username is None
37 assert password is None
38 assert self.raw_auth == BASIC_AUTH_HEADER_VALUE
39 return basic_auth(self.raw_auth)
40
41 plugin_manager.register(Plugin)
42 try:

Callers

nothing calls this directly

Calls 1

basic_authFunction · 0.85

Tested by

no test coverage detected