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>`. |
Arlan Jaska | 4255b10 | 2018-02-08 15:51:26 -0800 | [diff] [blame^] | 17 | - 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] | 18 | - Support for Google :mod:`Service Account credentials <google.oauth2.service_account>`. |
| 19 | - Support for :mod:`Google Compute Engine credentials <google.auth.compute_engine>`. |
| 20 | - Support for :mod:`Google App Engine standard credentials <google.auth.app_engine>`. |
| 21 | - Support for various transports, including |
| 22 | :mod:`Requests <google.auth.transport.requests>`, |
| 23 | :mod:`urllib3 <google.auth.transport.urllib3>`, and |
| 24 | :mod:`gRPC <google.auth.transport.grpc>`. |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 25 | |
Jon Wayne Parrott | cf93481 | 2017-06-07 09:47:18 -0700 | [diff] [blame] | 26 | .. note:: ``oauth2client`` was recently deprecated in favor of this library. For more details on the deprecation, see :doc:`oauth2client-deprecation`. |
| 27 | |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 28 | Installing |
| 29 | ---------- |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 30 | |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 31 | google-auth can be installed with `pip`_:: |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 32 | |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 33 | $ pip install --upgrade google-auth |
| 34 | |
| 35 | google-auth is open-source, so you can alternatively grab the source code from |
| 36 | `GitHub`_ and install from source. |
| 37 | |
michaelawyu | ddf3cec | 2017-10-13 10:20:44 -0700 | [diff] [blame] | 38 | |
| 39 | For more information on setting up your Python development environment, please refer to `Python Development Environment Setup Guide`_ for Google Cloud Platform. |
| 40 | |
| 41 | .. _`Python Development Environment Setup Guide`: https://cloud.google.com/python/setup |
Jon Wayne Parrott | 53c7b17 | 2016-11-10 10:44:30 -0800 | [diff] [blame] | 42 | .. _pip: https://pip.pypa.io |
| 43 | .. _GitHub: https://github.com/GoogleCloudPlatform/google-auth-library-python |
| 44 | |
| 45 | Usage |
| 46 | ----- |
| 47 | |
| 48 | The :doc:`user-guide` is the place to go to learn how to use the library and |
| 49 | accomplish common tasks. |
| 50 | |
| 51 | The :doc:`Module Reference <reference/modules>` documentation provides API-level documentation. |
| 52 | |
| 53 | License |
| 54 | ------- |
| 55 | |
| 56 | google-auth is made available under the Apache License, Version 2.0. For more |
| 57 | details, see `LICENSE`_ |
| 58 | |
| 59 | .. _LICENSE: |
| 60 | https://github.com/GoogleCloudPlatform/google-auth-library-python/LICENSE |
| 61 | |
| 62 | Contributing |
| 63 | ------------ |
| 64 | |
| 65 | We happily welcome contributions, please see our `contributing`_ documentation |
| 66 | for details. |
| 67 | |
| 68 | .. _contributing: |
| 69 | https://github.com/GoogleCloudPlatform/google-auth-library-python/CONTRIBUTING.rst |