MCPcopy
hub / github.com/encode/httpx / auth

Method auth

httpx/_client.py:273–281  ·  view source on GitHub ↗

Authentication class used when none is passed at the request-level. See also [Authentication][0]. [0]: /quickstart/#authentication

(self)

Source from the content-addressed store, hash-verified

271
272 @property
273 def auth(self) -> Auth | None:
274 """
275 Authentication class used when none is passed at the request-level.
276
277 See also [Authentication][0].
278
279 [0]: /quickstart/#authentication
280 """
281 return self._auth
282
283 @auth.setter
284 def auth(self, auth: AuthTypes) -> None:

Callers

nothing calls this directly

Calls 1

_build_authMethod · 0.95

Tested by

no test coverage detected