Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 1 | google-auth |
| 2 | =========== |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 3 | |
| 4 | .. toctree:: |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 5 | :hidden: |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 6 | :maxdepth: 2 |
| 7 | |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 8 | user-guide |
| 9 | Reference <reference/modules> |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 10 | |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 11 | google-auth is the Google authentication library for Python. This library |
| 12 | provides the ability to authenticate to Google APIs using various methods. It |
| 13 | also provides integration with several HTTP libraries. |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 14 | |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 15 | - Support for Google :func:`Application Default Credentials <google.auth.default>`. |
| 16 | - Support for signing and verifying :mod:`JWTs <google.auth.jwt>`. |
salrashid123 | 7a8641a | 2019-08-07 14:31:33 -0700 | [diff] [blame] | 17 | - Support for creating `Google ID Tokens <user-guide.html#identity-tokens>`__. |
Arlan Jaska | 4255b10 | 2018-02-08 15:51:26 -0800 | [diff] [blame] | 18 | - Support for verifying and decoding :mod:`ID Tokens <google.oauth2.id_token>`. |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 19 | - Support for Google :mod:`Service Account credentials <google.oauth2.service_account>`. |
salrashid123 | 1fbc679 | 2018-11-09 11:05:34 -0800 | [diff] [blame] | 20 | - Support for Google :mod:`Impersonated Credentials <google.auth.impersonated_credentials>`. |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 21 | - 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-google | d4d7f38 | 2021-02-16 12:33:20 -0800 | [diff] [blame] | 23 | - Support for :mod:`Identity Pool credentials <google.auth.identity_pool>`. |
| 24 | - Support for :mod:`AWS credentials <google.auth.aws>`. |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 25 | - Support for various transports, including |
| 26 | :mod:`Requests <google.auth.transport.requests>`, |
| 27 | :mod:`urllib3 <google.auth.transport.urllib3>`, and |
| 28 | :mod:`gRPC <google.auth.transport.grpc>`. |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 29 | |
Jon Wayne Parrott | cf93481 | 2017-06-07 09:47:18 -0700 | [diff] [blame] | 30 | .. note:: ``oauth2client`` was recently deprecated in favor of this library. For more details on the deprecation, see :doc:`oauth2client-deprecation`. |
| 31 | |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 32 | Installing |
| 33 | ---------- |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 34 | |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 35 | google-auth can be installed with `pip`_:: |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 36 | |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 37 | $ pip install --upgrade google-auth |
| 38 | |
| 39 | google-auth is open-source, so you can alternatively grab the source code from |
| 40 | `GitHub`_ and install from source. |
| 41 | |
michaelawyu | ddf3cec | 2017-10-13 10:20:44 -0700 | [diff] [blame] | 42 | |
| 43 | For more information on setting up your Python development environment, please refer to `Python Development Environment Setup Guide`_ for Google Cloud Platform. |
| 44 | |
| 45 | .. _`Python Development Environment Setup Guide`: https://cloud.google.com/python/setup |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 46 | .. _pip: https://pip.pypa.io |
| 47 | .. _GitHub: https://github.com/GoogleCloudPlatform/google-auth-library-python |
| 48 | |
| 49 | Usage |
| 50 | ----- |
| 51 | |
| 52 | The :doc:`user-guide` is the place to go to learn how to use the library and |
| 53 | accomplish common tasks. |
| 54 | |
| 55 | The :doc:`Module Reference <reference/modules>` documentation provides API-level documentation. |
| 56 | |
| 57 | License |
| 58 | ------- |
| 59 | |
| 60 | google-auth is made available under the Apache License, Version 2.0. For more |
| 61 | details, see `LICENSE`_ |
| 62 | |
| 63 | .. _LICENSE: |
Thea Flowers | ce54cc3 | 2018-05-24 13:09:47 -0700 | [diff] [blame] | 64 | https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/master/LICENSE |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 65 | |
| 66 | Contributing |
| 67 | ------------ |
| 68 | |
| 69 | We happily welcome contributions, please see our `contributing`_ documentation |
| 70 | for details. |
| 71 | |
| 72 | .. _contributing: |
Thea Flowers | ce54cc3 | 2018-05-24 13:09:47 -0700 | [diff] [blame] | 73 | https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/master/CONTRIBUTING.rst |