commit | b649b43d82bb5393e87848185567435372282c07 | [log] [tgz] |
---|---|---|
author | Christophe Taton <christophe.taton@gmail.com> | Thu Feb 08 14:12:23 2018 -0800 |
committer | Jon Wayne Parrott <jonwayne@google.com> | Thu Feb 08 14:12:23 2018 -0800 |
tree | 045c4884ae271e414b10f4bee21dbbf9af537177 | |
parent | dcbf1e0af0c79f1424f03ad27b071eccfdbc80d3 [diff] [blame] |
Add `google.oauth2.service_account.IDTokenCredentials`. (#234)
diff --git a/google/auth/app_engine.py b/google/auth/app_engine.py index fa13f8e..f47dae1 100644 --- a/google/auth/app_engine.py +++ b/google/auth/app_engine.py
@@ -136,7 +136,7 @@ @_helpers.copy_docstring(credentials.Scoped) def with_scopes(self, scopes): - return Credentials( + return self.__class__( scopes=scopes, service_account_id=self._service_account_id) @_helpers.copy_docstring(credentials.Signing)