-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add google.auth.jwt #7
Conversation
import six | ||
|
||
|
||
def now(): |
import six | ||
|
||
|
||
def now(): | ||
"""Gets the current UTC datetime.""" |
|
||
def datetime_to_secs(value): | ||
"""Convert a datetime object to the number of seconds since the UNIX epoch. | ||
""" |
|
||
|
||
_DEFAULT_TOKEN_LIFETIME_SECS = 3600 # 1 hour in sections | ||
CLOCK_SKEW_SECS = 300 # 5 minutes in seconds |
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.
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.
"""Make a signed JWT. | ||
|
||
Args: | ||
signer (google.auth.crypt.Signer): The signer used to sign the JWT. |
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.
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.
LGTM? |
Thanks for reviewing, @dhermes. :) |
No description provided.