MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / authenticators

Method authenticators

tools/python-3.11.9-amd64/Lib/netrc.py:166–173  ·  view source on GitHub ↗

Return a (user, account, password) tuple for given host.

(self, host)

Source from the content-addressed store, hash-verified

164 " the owner")
165
166 def authenticators(self, host):
167 """Return a (user, account, password) tuple for given host."""
168 if host in self.hosts:
169 return self.hosts[host]
170 elif 'default' in self.hosts:
171 return self.hosts['default']
172 else:
173 return None
174
175 def __repr__(self):
176 """Dump the class data in the format of a .netrc file."""

Callers 3

loginMethod · 0.80
testFunction · 0.80
get_netrc_authFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected