MCPcopy
hub / github.com/tornadoweb/tornado / get_auth_http_client

Method get_auth_http_client

tornado/auth.py:279–285  ·  view source on GitHub ↗

Returns the `.AsyncHTTPClient` instance to be used for auth requests. May be overridden by subclasses to use an HTTP client other than the default.

(self)

Source from the content-addressed store, hash-verified

277 return user
278
279 def get_auth_http_client(self) -> httpclient.AsyncHTTPClient:
280 """Returns the `.AsyncHTTPClient` instance to be used for auth requests.
281
282 May be overridden by subclasses to use an HTTP client other than
283 the default.
284 """
285 return httpclient.AsyncHTTPClient()
286
287
288class OAuthMixin:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected