Lines Matching full:requests
156 In order to make authenticated requests in the App Engine environment using the
160 #. If you are using the :mod:`google.auth.transport.requests` transport, vendor
161 in the `requests-toolbelt`_ library into your app, and enable the App Engine
184 https://cloud.google.com/appengine/docs/standard/python/issue-requests
212 for integrating with `requests-oauthlib`_ to provide support for obtaining
223 2.0 Authorization Grant Flow to obtain credentials using `requests-oauthlib`_.
232 https://requests-oauthlib.readthedocs.io/en/latest/
447 from google.auth.transport import requests
474 downscoped_credentials.refresh(requests.Request())
483 requests to that broker for downscoped tokens to access or modify specific google
496 from google.auth.transport import requests
500 # The `get_token_from_broker` callable requests a token and an expiry
503 requests.Request(),
575 import google.auth.transport.requests
579 request = google.auth.transport.requests.Request()
602 import google.auth.transport.requests
604 request = google.auth.transport.requests.Request()
618 request = google.auth.transport.requests.Request()
630 import google.auth.transport.requests
631 from google.auth.transport.requests import AuthorizedSession
647 request = google.auth.transport.requests.Request()
659 Making authenticated requests
663 use this transport to make authenticated requests to APIs. google-auth supports
667 Requests section in Making authenticated requests
670 The recommended HTTP transport is :mod:`google.auth.transport.requests` which
671 uses the `Requests`_ library. To make authenticated requests using Requests
674 from google.auth.transport.requests import AuthorizedSession
681 .. _Requests: http://docs.python-requests.org/en/master/
682 .. _Session: http://docs.python-requests.org/en/master/user/advanced/#session-objects
687 :mod:`urllib3` is the underlying HTTP library used by Requests and can also be argument
688 used with google-auth. urllib3's interface isn't as high-level as Requests but
690 requests are made. To make authenticated requests using urllib3 create an
716 import google.auth.transport.requests
718 http_request = google.auth.transport.requests.Request()
725 types need to make HTTP requests in order to refresh their access token.
726 The sample above uses the Requests transport, but any HTTP transport can
728 make HTTP requests in order to refresh (as is the case with
752 You can use this channel to make a gRPC stub that makes authenticated requests