Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update auth documentation #2801

Merged
merged 3 commits into from
Dec 2, 2016
Merged

Conversation

theacodes
Copy link
Contributor

No description provided.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 2, 2016
Copy link
Contributor

@dhermes dhermes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the nits (you didn't intersphinx fix in last PR, naughty)

#. Credentials provided by the Google Cloud SDK (via ``gcloud auth login``)
#. Application running in Google Compute Engine
the library will check for credentials in your environment by following the
precedence outlined by :func:`google.auth.default`.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

environment.
After creation,
you can pass it directly to a :class:`Client <google.cloud.client.Client>`:
:class:`Credentials <google.auth.credentials.Credentials>` object suited to your

This comment was marked as spam.

This comment was marked as spam.

:meth:`from_json() <oauth2client.client.Credentials.from_json>`.
:meth:`from_json() <oauth2client.client.Credentials.from_json>`. In order
to use ``oauth2client``'s credentials with this library, you'll need to `convert
them`_.

This comment was marked as spam.

This comment was marked as spam.


.. _oauth2client: https://github.com/Google/oauth2client.

This comment was marked as spam.

This comment was marked as spam.

it may be easiest just to re-use bits from ``oauth2client``.
Unfortunately, these parts have a hard dependency on ``httplib2``.
We hope to enable using `custom HTTP libraries`_ with ``oauth2client`` at
We hope to enable using `custom HTTP libraries`_ with this library at
some point.

This comment was marked as spam.

Jon Wayne Parrott added 2 commits December 2, 2016 15:13
@theacodes theacodes merged commit 2b1a93b into googleapis:master Dec 2, 2016
@theacodes theacodes deleted the update-auth-docs branch December 2, 2016 23:32
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants