Searched refs:OAuth2Credentials (Results 1 – 19 of 19) sorted by relevance
64 def test_has_credentials_in_storage(self, OAuth2Credentials): argument73 OAuth2Credentials.from_json.return_value = credentials_mock161 self, OAuth2Credentials): argument169 OAuth2Credentials.from_json.return_value = credentials_mock180 def test_specified_scopes(self, OAuth2Credentials): argument187 OAuth2Credentials.from_json.return_value = credentials_mock
25 from oauth2client.client import OAuth2Credentials40 self.credentials = OAuth2Credentials(
882 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 …]
71 credentials = client.OAuth2Credentials(114 self.assertEquals(data['_module'], client.OAuth2Credentials.__module__)
30 import com.google.auth.oauth2.OAuth2Credentials;149 final OAuth2Credentials oAuth2Credentials = new OAuth2Credentials() { in testWithOAuth2Credential()
35 import com.google.auth.oauth2.OAuth2Credentials;252 final OAuth2Credentials credentials = new OAuth2Credentials() { in oauth2Credential()
48 credentials = client.OAuth2Credentials.from_json(serialized)
460 class OAuth2Credentials(Credentials): class923 class AccessTokenCredentials(OAuth2Credentials):1065 class GoogleCredentials(OAuth2Credentials):1092 OAuth2Credentials.NON_SERIALIZED_MEMBERS)2046 return OAuth2Credentials(
25 return client.OAuth2Credentials(
45 self.credentials = oauth2client.client.OAuth2Credentials(
130 credentials = client.OAuth2Credentials(
59 credentials = client.OAuth2Credentials(
101 credentials = client.OAuth2Credentials(
331 self.credentials = client.OAuth2Credentials(394 self.credentials = client.OAuth2Credentials(
80 return client.OAuth2Credentials(
395 oauth2client.client.OAuth2Credentials._refresh(self, do_request)
37 import com.google.auth.oauth2.OAuth2Credentials;1729 OAuth2Credentials credentials = OAuth2Credentials.create(accessToken); in oauth2AuthToken()
80 from oauth2client.client import OAuth2Credentials, GoogleCredentials1403 return OAuth2Credentials(
73 * Avoid OAuth2Credentials `id_token` going out of sync after a token