blob: 8a5f13a6daf4ebdd54088f55db36b619eca0fae2 [file] [log] [blame]
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -08001google-auth
2===========
Jon Wayne Parrott377f2932016-10-04 10:20:36 -07003
4.. toctree::
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -08005 :hidden:
Jon Wayne Parrott377f2932016-10-04 10:20:36 -07006 :maxdepth: 2
7
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -08008 user-guide
9 Reference <reference/modules>
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070010
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -080011google-auth is the Google authentication library for Python. This library
12provides the ability to authenticate to Google APIs using various methods. It
13also provides integration with several HTTP libraries.
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070014
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -080015- Support for Google :func:`Application Default Credentials <google.auth.default>`.
16- Support for signing and verifying :mod:`JWTs <google.auth.jwt>`.
salrashid1237a8641a2019-08-07 14:31:33 -070017- Support for creating `Google ID Tokens <user-guide.html#identity-tokens>`__.
Arlan Jaska4255b102018-02-08 15:51:26 -080018- Support for verifying and decoding :mod:`ID Tokens <google.oauth2.id_token>`.
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -080019- Support for Google :mod:`Service Account credentials <google.oauth2.service_account>`.
salrashid1231fbc6792018-11-09 11:05:34 -080020- Support for Google :mod:`Impersonated Credentials <google.auth.impersonated_credentials>`.
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -080021- Support for :mod:`Google Compute Engine credentials <google.auth.compute_engine>`.
22- Support for :mod:`Google App Engine standard credentials <google.auth.app_engine>`.
bojeil-googled4d7f382021-02-16 12:33:20 -080023- Support for :mod:`Identity Pool credentials <google.auth.identity_pool>`.
24- Support for :mod:`AWS credentials <google.auth.aws>`.
bojeil-googled1840dc2021-08-06 12:51:22 -070025- Support for :mod:`Downscoping with Credential Access Boundaries credentials <google.auth.downscoped>`.
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -080026- Support for various transports, including
27 :mod:`Requests <google.auth.transport.requests>`,
28 :mod:`urllib3 <google.auth.transport.urllib3>`, and
29 :mod:`gRPC <google.auth.transport.grpc>`.
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070030
Jon Wayne Parrottcf934812017-06-07 09:47:18 -070031.. note:: ``oauth2client`` was recently deprecated in favor of this library. For more details on the deprecation, see :doc:`oauth2client-deprecation`.
32
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -080033Installing
34----------
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070035
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -080036google-auth can be installed with `pip`_::
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070037
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -080038 $ pip install --upgrade google-auth
39
40google-auth is open-source, so you can alternatively grab the source code from
41`GitHub`_ and install from source.
42
michaelawyuddf3cec2017-10-13 10:20:44 -070043
44For more information on setting up your Python development environment, please refer to `Python Development Environment Setup Guide`_ for Google Cloud Platform.
45
46.. _`Python Development Environment Setup Guide`: https://cloud.google.com/python/setup
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -080047.. _pip: https://pip.pypa.io
48.. _GitHub: https://github.com/GoogleCloudPlatform/google-auth-library-python
49
50Usage
51-----
52
53The :doc:`user-guide` is the place to go to learn how to use the library and
54accomplish common tasks.
55
56The :doc:`Module Reference <reference/modules>` documentation provides API-level documentation.
57
58License
59-------
60
61google-auth is made available under the Apache License, Version 2.0. For more
62details, see `LICENSE`_
63
64.. _LICENSE:
Anthonios Parthenioub86480e2021-08-25 12:41:18 -040065 https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/main/LICENSE
Jon Wayne Parrott53c7b172016-11-10 10:44:30 -080066
67Contributing
68------------
69
70We happily welcome contributions, please see our `contributing`_ documentation
71for details.
72
73.. _contributing:
Anthonios Parthenioub86480e2021-08-25 12:41:18 -040074 https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/main/CONTRIBUTING.rst