Home
last modified time | relevance | path

Searched refs:OAuth2Credentials (Results 1 – 19 of 19) sorted by relevance

/external/python/oauth2client/tests/contrib/django_util/
Dtest_decorators.py64 def test_has_credentials_in_storage(self, OAuth2Credentials): argument
73 OAuth2Credentials.from_json.return_value = credentials_mock
161 self, OAuth2Credentials): argument
169 OAuth2Credentials.from_json.return_value = credentials_mock
180 def test_specified_scopes(self, OAuth2Credentials): argument
187 OAuth2Credentials.from_json.return_value = credentials_mock
Dtest_django_storage.py25 from oauth2client.client import OAuth2Credentials
40 self.credentials = OAuth2Credentials(
/external/python/oauth2client/tests/
Dtest_client.py882 self.credentials = client.OAuth2Credentials(
978 instance = client.OAuth2Credentials.from_json(json)
979 self.assertEqual(client.OAuth2Credentials, type(instance))
988 instance = client.OAuth2Credentials.from_json(json.dumps(data))
989 self.assertIsInstance(instance, client.OAuth2Credentials)
994 instance = client.OAuth2Credentials.from_json(json.dumps(data))
995 self.assertIsInstance(instance, client.OAuth2Credentials)
1006 credentials = client.OAuth2Credentials(
1036 credentials = client.OAuth2Credentials(
1056 instance = client.OAuth2Credentials.from_json(
[all …]
Dtest_file.py71 credentials = client.OAuth2Credentials(
114 self.assertEquals(data['_module'], client.OAuth2Credentials.__module__)
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DClientAuthInterceptorTest.java30 import com.google.auth.oauth2.OAuth2Credentials;
149 final OAuth2Credentials oAuth2Credentials = new OAuth2Credentials() { in testWithOAuth2Credential()
DGoogleAuthLibraryCallCredentialsTest.java35 import com.google.auth.oauth2.OAuth2Credentials;
252 final OAuth2Credentials credentials = new OAuth2Credentials() { in oauth2Credential()
/external/python/oauth2client/oauth2client/contrib/
Ddictionary_storage.py48 credentials = client.OAuth2Credentials.from_json(serialized)
/external/python/oauth2client/oauth2client/
Dclient.py460 class OAuth2Credentials(Credentials): class
923 class AccessTokenCredentials(OAuth2Credentials):
1065 class GoogleCredentials(OAuth2Credentials):
1092 OAuth2Credentials.NON_SERIALIZED_MEMBERS)
2046 return OAuth2Credentials(
/external/python/oauth2client/tests/contrib/
Dtest_dictionary_storage.py25 return client.OAuth2Credentials(
Dtest_sqlalchemy.py45 self.credentials = oauth2client.client.OAuth2Credentials(
Dtest_keyring_storage.py130 credentials = client.OAuth2Credentials(
Dtest_multiprocess_file_storage.py59 credentials = client.OAuth2Credentials(
Dtest_multistore_file.py101 credentials = client.OAuth2Credentials(
Dtest_appengine.py331 self.credentials = client.OAuth2Credentials(
394 self.credentials = client.OAuth2Credentials(
Dtest_flask_util.py80 return client.OAuth2Credentials(
/external/python/apitools/apitools/base/py/
Dcredentials_lib.py395 oauth2client.client.OAuth2Credentials._refresh(self, do_request)
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DAbstractInteropTest.java37 import com.google.auth.oauth2.OAuth2Credentials;
1729 OAuth2Credentials credentials = OAuth2Credentials.create(accessToken); in oauth2AuthToken()
/external/python/google-api-python-client/tests/
Dtest_discovery.py80 from oauth2client.client import OAuth2Credentials, GoogleCredentials
1403 return OAuth2Credentials(
/external/python/oauth2client/
DCHANGELOG.md73 * Avoid OAuth2Credentials `id_token` going out of sync after a token