Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 2.53 KB

index.rst

File metadata and controls

71 lines (50 loc) · 2.53 KB

google-auth

user-guide Reference <reference/modules>

google-auth is the Google authentication library for Python. This library provides the ability to authenticate to Google APIs using various methods. It also provides integration with several HTTP libraries.

  • Support for Google Application Default Credentials <google.auth.default>.
  • Support for signing and verifying JWTs <google.auth.jwt>.
  • Support for creating Google ID Tokens.
  • Support for verifying and decoding ID Tokens <google.oauth2.id_token>.
  • Support for Google Service Account credentials <google.oauth2.service_account>.
  • Support for Google Impersonated Credentials <google.auth.impersonated_credentials>.
  • Support for Google Compute Engine credentials <google.auth.compute_engine>.
  • Support for Google App Engine standard credentials <google.auth.app_engine>.
  • Support for various transports, including Requests <google.auth.transport.requests>, urllib3 <google.auth.transport.urllib3>, and gRPC <google.auth.transport.grpc>.

Note

oauth2client was recently deprecated in favor of this library. For more details on the deprecation, see oauth2client-deprecation.

Installing

google-auth can be installed with pip:

$ pip install --upgrade google-auth

google-auth is open-source, so you can alternatively grab the source code from GitHub and install from source.

For more information on setting up your Python development environment, please refer to Python Development Environment Setup Guide for Google Cloud Platform.

Usage

The user-guide is the place to go to learn how to use the library and accomplish common tasks.

The Module Reference <reference/modules> documentation provides API-level documentation.

License

google-auth is made available under the Apache License, Version 2.0. For more details, see LICENSE

Contributing

We happily welcome contributions, please see our contributing documentation for details.