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

Method get_auth_http_client

tornado/auth.py:547–553  ·  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

545 return base_args
546
547 def get_auth_http_client(self) -> httpclient.AsyncHTTPClient:
548 """Returns the `.AsyncHTTPClient` instance to be used for auth requests.
549
550 May be overridden by subclasses to use an HTTP client other than
551 the default.
552 """
553 return httpclient.AsyncHTTPClient()
554
555
556class OAuth2Mixin:

Callers 6

authorize_redirectMethod · 0.95
authenticate_redirectMethod · 0.45
twitter_requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected