-
Notifications
You must be signed in to change notification settings - Fork 310
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
Improve documentation around ID Tokens #224
Improve documentation around ID Tokens #224
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.
Mostly LGTM and thanks for doing this!
google/oauth2/id_token.py
Outdated
"""Google ID Token helpers.""" | ||
"""Google ID Token helpers. | ||
|
||
Provides support for verifying OAuth 2.0 ID Tokens, especially ones generated |
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.
google/oauth2/id_token.py
Outdated
from google.auth.transport import requests | ||
|
||
request = requests.Request() | ||
try: |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
google/oauth2/id_token.py
Outdated
|
||
request = requests.Request() | ||
try: | ||
id_info = id_token.verify_oauth2_token(token, request, CLIENT_ID) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
google/oauth2/id_token.py
Outdated
|
||
from google.auth.transport import requests | ||
|
||
sess = session() |
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.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Includes a section on how to do caching, as part of #218 .
I've never used Sphinx for documentation before, and suggestions on clearer/more precise wording are always appreciated