Commit 2ea74776 authored by Christoph Berg's avatar Christoph Berg

New upstream version 1.5.1

Fixes AssertionError: Pattern 'Incorrect padding' not found.
(Closes: #909993)
parent 9e07b068
[run]
branch = True
[report]
omit =
*/samples/*
*/conftest.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError
# Format: //devtools/kokoro/config/proto/build.proto
# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR}
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
# All builds use the trampoline script to run in docker.
build_file: "google-auth-library-python/.kokoro/trampoline.sh"
# Use the Python worker docker iamge.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/silver-python2/python-worker"
}
# Format: //devtools/kokoro/config/proto/build.proto
# Download secrets from Cloud Storage.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-auth-library-python"
# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/google-auth-library-python/.kokoro/system_tests.sh"
}
# Tell the system tests which Google Cloud project to use.
env_vars: {
key: "TEST_PROJECT"
value: "python-docs-samples-tests"
}
#!/bin/bash
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -eo pipefail
export PATH=${PATH}:${HOME}/gcloud/google-cloud-sdk/bin
cd github/google-auth-library-python
# Unencrypt and extract secrets
SECRETS_PASSWORD=$(cat "${KOKORO_GFILE_DIR}/secrets-password.txt")
./scripts/decrypt-secrets.sh "${SECRETS_PASSWORD}"
# Setup gcloud, this is needed for the App Engine system test.
gcloud auth activate-service-account --key-file system_tests/data/service_account.json
gcloud config set project "${TEST_PROJECT}"
# Run tests
tox -e py27-system
tox -e py36-system
#!/bin/bash
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py"
language: python
sudo: false
matrix:
include:
- python: 3.6
env: TOXENV=lint
- python: 3.6
env: TOXENV=docs
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: pypy
env: TOXENV=pypy
- python: 3.6
env: TOXENV=cover
- python: 3.6
env: TOXENV=py36-system SYSTEM_TEST=1 SKIP_APP_ENGINE_SYSTEM_TEST=1
- python: 2.7
env: TOXENV=py27-system SYSTEM_TEST=1 SKIP_APP_ENGINE_SYSTEM_TEST=1
cache:
directories:
- ${HOME}/.cache
install:
- pip install --upgrade tox
script:
- scripts/travis.sh
deploy:
provider: pypi
user: google_opensource
password:
secure: bThsMsG/1fg2NlAygLI8GkDc/kGD3TmXUrqmPU9cc6Tym8sMzPYMiDpJk76ttLAV+gfEI++ROvcul4cgW6Jz5d5xJp4sbQAN4eZOyO3Q3hiVPvhuu6wPMM22j8YfT7rmh710moyBujxJccVDCNAJo/3nAbAQVScP8l89YDW5LF9ckgLPLKG0gDEfwLk8ZVlJg8lRsJ7PTWnAp7nfrvXRiBNPEe8yie654wcxV/xzQwAHLSJhAfpBdTHxvUoFazynn+DvGF/zF5R3n3XSPvctGT6tQNr7GDmdp1EqsOL7y2NbunzIDEoN/wUKlmTRcJVownVyLdISNBo3GjbsyOZGwsj86bKpVIgwhFrkZe7BOV9Fqq5wBl7kTvVf5j/FnLrsQaPyGlgHHxNqXSRqjUosT7BGnuTErmhO130Z6q6iXErrCNfBM+sbuLv+LF+vlMuVSdeU/TBGjf5j0ODmsGGF3EuKtudgD64O8L81/ybKo1CxcRoXbK7+pJhvhSAmkFdZ99A22+wiLNe7B1FVmu6ZfO0WO0GPLKsE+1Xn3xxcrX0wO6rE+uXH4CSQEgLza/CltKNL671dZZMJAUsNAVanwKIKCsNu7viOpUVejESyK7I1SA6B5yX74iA/yhunLLnPuPLANbkug7Ob/i5Z1IruWzpEyqm0CC4HfMPvg7FA+Kc=
on:
tags: true
distributions: sdist bdist_wheel
repo: GoogleCloudPlatform/google-auth-library-python
condition: "$TOXENV = \"cover\""
env:
global:
- secure: s6GdhJklftl8w/9WoETwLtvtKL4ledPA/TuBuqCXQxSuYWaPuTdRVcvoejGkHJpp7i/7v2T/0etYl+5koyskKm5+QZZweaaL7MAyjPGp+hmIaIlWQRz6w481NOf3i9uSmoQycssT0mNmwScNIqo+igbA2y14mr/e9aBuOcxNNzNzFQp2vaRMEju6q7xZMjYdcudUWL48vq9CoNa3X2ZArpqjkApR/TfYlG7glOj43NxuVDN4z9wIyUjaMHBfPgEhjaOaRyEFgEYITRwX1qDoXqcZdTVIq4Cn0uCH+Mvrz6Y+oUJGTJqH1k7N/DhzbSN9lJnVYaQW/yuvGHiGAwbb6Tcxiq2UqqhA9MfbPpmstDECs46v9Z3BT252KvYEQY7Q1v9g2gFhHvFGWISUxs80rnnPhEYfa11JoLvj2t8cowkE4pvj4OH32Eoyvc5H07hW3F5xpuF7Jt7N09TNZkUrpmiRJEhfrVNgjsrWO77/q5h8mXGd+9vYmz++yzKu+63x8x1MpeigGCG73Dpu9Otm5eydOZfpJ39ZfZWUb7G2JahgHaGweM9dmnpJtzHQgijmHjjfAx9jgnQ8IQz9nkFmyMI8H7HouwalnrJtpSSbvMqOQ0kiZhMzdBKH5pD3tjLgSlgA0pKelBwlooY6jGlj4LrtbDAxa6cZyXiFoqWpT1w=
- CLOUD_SDK_ROOT: ${HOME}/.cache/cloud-sdk
Changelog
=========
v1.5.1
------
- Fix check for error text on Python 3.7. (#278)
- Use new Auth URIs. (#281)
- Add code-of-conduct document. (#270)
- Fix some typos in test_urllib3.py (#268)
v1.5.0
------
- Warn when using user credentials from the Cloud SDK (#266)
- Add compute engine-based IDTokenCredentials (#236)
- Corrected some typos (#265)
v1.4.2
------
- Raise a helpful exception when trying to refresh credentials without a refresh token. (#262)
- Fix links to README and CONTRIBUTING in docs/index.rst. (#260)
- Fix a typo in credentials.py. (#256)
- Use pytest instead of py.test per upstream recommendation, #dropthedot. (#255)
- Fix typo on exemple of jwt usage (#245)
v1.4.1
------
- Added a check for the cryptography version before attempting to use it. (#243)
v1.4.0
------
- Added `cryptography`-based RSA signer and verifier. (#185)
- Added `google.oauth2.service_account.IDTokenCredentials`. (#234)
- Improved documentation around ID Tokens (#224)
v1.3.0
------
......
Contributing
============
#. **Please sign one of the contributor license agreements below.**
#. Fork the repo, develop and test your code changes, add docs.
#. Make sure that your commit messages clearly describe the changes.
#. Send a pull request.
Here are some guidelines for hacking on ``google-auth-library-python``.
Making changes
--------------
A few notes on making changes to ``google-auth-libary-python``.
- If you've added a new feature or modified an existing feature, be sure to
add or update any applicable documentation in docstrings and in the
documentation (in ``docs/``). You can re-generate the reference documentation
using ``tox -e docgen``.
- The change must work fully on the following CPython versions: 2.7,
3.4, and 3.5 across macOS, Linux, and Windows.
- The codebase *must* have 100% test statement coverage after each commit.
You can test coverage via ``tox -e cover``.
Testing changes
---------------
To test your changes, run unit tests with ``tox``::
$ tox -e py27
$ tox -e py34
$ tox -e py35
Coding Style
------------
This library is PEP8 & Pylint compliant. Our Pylint config is defined at
``pylintrc`` for package code and ``pylintrc.tests`` for test code. Use
``tox`` to check for non-compliant code::
$ tox -e lint
Documentation Coverage and Building HTML Documentation
------------------------------------------------------
If you fix a bug, and the bug requires an API or behavior modification, all
documentation in this package which references that API or behavior must be
changed to reflect the bug fix, ideally in the same commit that fixes the bug
or adds the feature.
To build and review docs use ``tox``::
$ tox -e docs
The HTML version of the docs will be built in ``docs/_build/html``
Versioning
----------
This library follows `Semantic Versioning`_.
.. _Semantic Versioning: http://semver.org/
It is currently in major version zero (``0.y.z``), which means that anything
may change at any time and the public API should not be considered
stable.
Contributor License Agreements
------------------------------
Before we can accept your pull requests you'll need to sign a Contributor License Agreement (CLA):
- **If you are an individual writing original source code** and **you own the intellectual property**, then you'll need to sign an `individual CLA <https://developers.google.com/open-source/cla/individual>`__.
- **If you work for a company that wants to allow you to contribute your work**, then you'll need to sign a `corporate CLA <https://developers.google.com/open-source/cla/corporate>`__.
You can sign these electronically (just scroll to the bottom). After that, we'll be able to accept your pull requests.
# Contribors to oauth2client / google-auth
## Maintainers
* [Jon Wayne Parrott](https://github.com/jonparrott)
* [Danny Hermes](https://github.com/dhermes)
* [Brian Watson](https://github.com/bjwatson)
Previous maintainers:
* [Nathaniel Manista](https://github.com/nathanielmanistaatgoogle)
* [Craig Citro](https://github.com/craigcitro)
* [Joe Gregorio](https://github.com/jcgregorio)
## Contributors
This list is generated from git commit authors.
* aalexand <aalexand@google.com>
* Aaron <aaronwinter@users.noreply.github.com>
* Adam Chainz <me@adamj.eu>
* ade@google.com
* Alexandre Vivien <alx.vivien@gmail.com>
* Ali Afshar <afshar@google.com>
* Andrzej Pragacz <apragacz@o2.pl>
* api.nickm@gmail.com
* Ben Demaree <bendemaree@gmail.com>
* Bill Prin <waprin@gmail.com, waprin@google.com>
* Brendan McCollam <brendan@mccoll.am, bmccollam@uchicago.edu>
* Craig Citro <craigcitro@gmail.com, craigcitro@google.com>
* Dan Ring <dfring@gmail.com>
* Daniel Hermes <dhermes@google.com, daniel.j.hermes@gmail.com>
* Danilo Akamine <danilowz@gmail.com>
* daryl herzmann <akrherz@iastate.edu>
* dlorenc <lorenc.d@gmail.com>
* Dominik Miedziński <dominik@mdzn.pl>
* dr. Kertész Csaba-Zoltán <cskertesz@gmail.com>
* Dustin Farris <dustin@dustinfarris.com>
* Eddie Warner <happyspace@gmail.com>
* Edwin Amsler <EdwinGuy@GMail.com>
* elibixby <elibixby@google.com>
* Emanuele Pucciarelli <ep@acm.org>
* Eric Koleda <eric.koleda@google.com>
* Frederik Creemers <frederikcreemers@gmail.com>
* Guido van Rossum <guido@google.com>
* Harsh Vardhan <harshvd95@gmail.com>
* Herr Kaste <thdz.x@gmx.net>
* INADA Naoki <inada-n@klab.com>
* JacobMoshenko <moshenko@google.com>
* Jay Lee <jay0lee@gmail.com>
* Jed Hartman <jhartman@google.com>
* Jeff Terrace <jterrace@gmail.com, jterrace@google.com>
* Jeffrey Sorensen <sorensenjs@users.noreply.github.com>
* Jeremi Joslin <jeremi@collabspot.com>
* Jin Liu <liujin@google.com>
* Joe Beda <jbeda@google.com>
* Joe Gregorio <jcgregorio@google.com, joe.gregorio@gmail.com>
* Johan Euphrosine <proppy@google.com>
* John Asmuth <jasmuth@gmail.com, jasmuth@google.com>
* John Vandenberg <jayvdb@gmail.com>
* Jon Wayne Parrott <jon.wayne.parrott@gmail.com, jonwayne@google.com>
* Jose Alcerreca <jalc@google.com>
* KCs <cskertesz@gmail.com>
* Keith Maxwell <keith.maxwell@gmail.com>
* Ken Payson <kpayson@google.com>
* Kevin Regan <regank@google.com>
* lraccomando <lraccomando@gmail.com>
* Luar Roji <cyberplant@users.noreply.github.com>
* Luke Blanshard <leadpipe@google.com>
* Marc Cohen <marccohen@google.com>
* Mark Pellegrini <markpell@google.com>
* Martin Trigaux <mat@odoo.com>
* Matt McDonald <mmcdonald@google.com>
* Nathan Naze <nanaze@gmail.com>
* Nathaniel Manista <nathaniel@google.com>
* Orest Bolohan <orest@google.com>
* Pat Ferate <pferate@gmail.com>
* Patrick Costello <pcostello@google.com>
* Rafe Kaplan <rafek@google.com>
* rahulpaul@google.com <rahulpaul@google.com>
* RM Saksida <rsaksida@gmail.com>
* Robert Kaplow <rkaplow@google.com>
* Robert Spies <wilford@google.com>
* Sergei Trofimovich <siarheit@google.com>
* sgomes@google.com <sgomes@google.com>
* Simon Cadman <src@niftiestsoftware.com>
* soltanmm <soltanmm@users.noreply.github.com>
* Sébastien de Melo <sebastien.de-melo@ubicast.eu>
* takuya sato <sato-taku@klab.com>
* thobrla <thobrla@google.com>
* Tom Miller <tom.h.miller@gmail.com>
* Tony Aiuto <aiuto@google.com>
* Travis Hobrla <thobrla@google.com>
* Veres Lajos <vlajos@gmail.com>
* Vivek Seth <vivekseth.m@gmail.com>
* Éamonn McManus <eamonn@mcmanus.net>
Metadata-Version: 1.1
Name: google-auth
Version: 1.5.1
Summary: Google Authentication Library
Home-page: https://github.com/GoogleCloudPlatform/google-auth-library-python
Author: Google Cloud Platform
Author-email: jonwayne+google-auth@google.com
License: Apache 2.0
Description: Google Auth Python Library
==========================
|build| |docs| |pypi|
This library simplifies using Google's various server-to-server authentication
mechanisms to access Google APIs.
.. |build| image:: https://travis-ci.org/GoogleCloudPlatform/google-auth-library-python.svg?branch=master
:target: https://travis-ci.org/GoogleCloudPlatform/google-auth-library-python
.. |docs| image:: https://readthedocs.org/projects/google-auth/badge/?version=latest
:target: https://google-auth.readthedocs.io/en/latest/
.. |pypi| image:: https://img.shields.io/pypi/v/google-auth.svg
:target: https://pypi.python.org/pypi/google-auth
Installing
----------
You can install using `pip`_::
$ pip install google-auth
.. _pip: https://pip.pypa.io/en/stable/
For more information on setting up your Python development environment, please refer to `Python Development Environment Setup Guide`_ for Google Cloud Platform.
.. _`Python Development Environment Setup Guide`: https://cloud.google.com/python/setup
Documentation
-------------
Google Auth Python Library has usage and reference documentation at `google-auth.readthedocs.io <https://google-auth.readthedocs.io>`_.
Maintainers
-----------
- `@jonparrott <https://github.com/jonparrott>`_ (Jon Wayne Parrott)
- `@dhermes <https://github.com/dhermes>`_ (Danny Hermes)
- `@lukesneeringer <https://github.com/lukesneeringer>`_ (Luke Sneeringer)
Contributing
------------
Contributions to this library are always welcome and highly encouraged.
See `CONTRIBUTING.rst`_ for more information on how to get started.
.. _CONTRIBUTING.rst: https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/master/CONTRIBUTING.rst
License
-------
Apache 2.0 - See `the LICENSE`_ for more information.
.. _the LICENSE: https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/master/LICENSE
Keywords: google auth oauth client
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
python-google-auth (1.3.0-3) UNRELEASED; urgency=medium
python-google-auth (1.5.1-1) UNRELEASED; urgency=medium
[ Ondřej Nový ]
* Removing gbp.conf, not used anymore or should be specified in the
developers dotfiles
* d/control: Add trailing tilde to min version depend to allow
......@@ -8,6 +9,11 @@ python-google-auth (1.3.0-3) UNRELEASED; urgency=medium
* Running wrap-and-sort -bast
* d/control: Use team+openstack@tracker.debian.org as maintainer
[ Christoph Berg ]
* New upstream version.
+ Fixes AssertionError: Pattern 'Incorrect padding' not found.
(Closes: #909993)
-- Ondřej Nový <onovy@debian.org> Tue, 27 Feb 2018 16:41:57 +0100
python-google-auth (1.3.0-2) unstable; urgency=medium
......
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
.PHONY: help
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " qthelp to make HTML files and a qthelp project"
@echo " applehelp to make an Apple Help Book"
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
@echo " epub3 to make an epub3"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
@echo " text to make text files"
@echo " man to make manual pages"
@echo " texinfo to make Texinfo files"
@echo " info to make Texinfo files and run them through makeinfo"
@echo " gettext to make PO message catalogs"
@echo " changes to make an overview of all changed/added/deprecated items"
@echo " xml to make Docutils-native XML files"
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
@echo " coverage to run coverage check of the documentation (if enabled)"
@echo " dummy to check syntax errors of document sources"
.PHONY: clean
clean:
rm -rf $(BUILDDIR)/*
.PHONY: html
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
.PHONY: dirhtml
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
.PHONY: singlehtml
singlehtml:
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
.PHONY: pickle
pickle:
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."
.PHONY: json
json:
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."
.PHONY: htmlhelp
htmlhelp:
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(BUILDDIR)/htmlhelp."
.PHONY: qthelp
qthelp:
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/google-auth.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/google-auth.qhc"
.PHONY: applehelp
applehelp:
$(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
@echo
@echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
@echo "N.B. You won't be able to view it unless you put it in" \
"~/Library/Documentation/Help or install it in your application" \
"bundle."
.PHONY: devhelp
devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/google-auth"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/google-auth"
@echo "# devhelp"
.PHONY: epub
epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
.PHONY: epub3
epub3:
$(SPHINXBUILD) -b epub3 $(ALLSPHINXOPTS) $(BUILDDIR)/epub3
@echo
@echo "Build finished. The epub3 file is in $(BUILDDIR)/epub3."
.PHONY: latex
latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."
.PHONY: latexpdf
latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
.PHONY: latexpdfja
latexpdfja:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through platex and dvipdfmx..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
.PHONY: text
text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/text."
.PHONY: man
man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
.PHONY: texinfo
texinfo:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
@echo "Run \`make' in that directory to run these through makeinfo" \
"(use \`make info' here to do that automatically)."
.PHONY: info
info:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo "Running Texinfo files through makeinfo..."
make -C $(BUILDDIR)/texinfo info
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
.PHONY: gettext
gettext:
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
@echo
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
.PHONY: changes
changes:
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
@echo
@echo "The overview file is in $(BUILDDIR)/changes."
.PHONY: linkcheck
linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."
.PHONY: doctest
doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."
.PHONY: coverage
coverage:
$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
@echo "Testing of coverage in the sources finished, look at the " \
"results in $(BUILDDIR)/coverage/python.txt."
.PHONY: xml
xml:
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
@echo
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
.PHONY: pseudoxml
pseudoxml:
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
@echo
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
.PHONY: dummy
dummy:
$(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy
@echo
@echo "Build finished. Dummy builder generates no files."
@import url('https://fonts.googleapis.com/css?family=Roboto|Roboto+Mono');
@media screen and (min-width: 1080px) {
div.document {
width: 1040px;
}
}
code.descname {
color: #4885ed;
}
th.field-name {
min-width: 100px;
color: #3cba54;
}
This diff is collapsed.
google-auth
===========
.. toctree::
:hidden:
:maxdepth: 2
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 :func:`Application Default Credentials <google.auth.default>`.
- Support for signing and verifying :mod:`JWTs <google.auth.jwt>`.
- Support for Google :mod:`Service Account credentials <google.oauth2.service_account>`.
- Support for :mod:`Google Compute Engine credentials <google.auth.compute_engine>`.
- Support for :mod:`Google App Engine standard credentials <google.auth.app_engine>`.
- Support for various transports, including
:mod:`Requests <google.auth.transport.requests>`,
:mod:`urllib3 <google.auth.transport.urllib3>`, and
:mod:`gRPC <google.auth.transport.grpc>`.
.. note:: ``oauth2client`` was recently deprecated in favor of this library. For more details on the deprecation, see :doc:`oauth2client-deprecation`.