-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
There was a problem hiding this 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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
: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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
.. _oauth2client: https://github.com/Google/oauth2client. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
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.
This comment was marked as spam.
Sorry, something went wrong.
No description provided.