diff --git a/google/oauth2/credentials.py b/google/oauth2/credentials.py index 4643fdbea..ae204b45a 100644 --- a/google/oauth2/credentials.py +++ b/google/oauth2/credentials.py @@ -54,8 +54,9 @@ class Credentials(credentials.ReadOnlyScoped, credentials.CredentialsWithQuotaProject): """Credentials using OAuth 2.0 access and refresh tokens. - The credentials are considered immutable. If you want to modify the - quota project, use :meth:`with_quota_project` or :: + The credentials are considered immutable except the tokens and the token + expiry, which are updated after refresh. If you want to modify the quota + project, use :meth:`with_quota_project` or :: credentials = credentials.with_quota_project('myproject-123')