aboutsummaryrefslogtreecommitdiff
path: root/google/auth/credentials.py
diff options
context:
space:
mode:
Diffstat (limited to 'google/auth/credentials.py')
-rw-r--r--google/auth/credentials.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/google/auth/credentials.py b/google/auth/credentials.py
index 6356f54..8d9974c 100644
--- a/google/auth/credentials.py
+++ b/google/auth/credentials.py
@@ -62,7 +62,7 @@ class Credentials(object, metaclass=abc.ABCMeta):
# Remove 10 seconds from expiry to err on the side of reporting
# expiration early so that we avoid the 401-refresh-retry loop.
- skewed_expiry = self.expiry - _helpers.CLOCK_SKEW
+ skewed_expiry = self.expiry - _helpers.REFRESH_THRESHOLD
return _helpers.utcnow() >= skewed_expiry
@property