Lines Matching refs: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(
1061 credentials = client.OAuth2Credentials(None, None, None, None,
1068 credentials = client.OAuth2Credentials(None, None, None, None,
1079 credentials = client.OAuth2Credentials(None, None, None, None,
1173 @mock.patch.object(client.OAuth2Credentials, 'refresh')
1174 @mock.patch.object(client.OAuth2Credentials, '_expires_in',
1177 credentials = client.OAuth2Credentials(None, None, None, None,
1196 @mock.patch.object(client.OAuth2Credentials, 'refresh')
1197 @mock.patch.object(client.OAuth2Credentials, '_expires_in',
1200 credentials = client.OAuth2Credentials(None, None, None, None,
1218 @mock.patch.object(client.OAuth2Credentials,
1221 @mock.patch.object(client.OAuth2Credentials,
1228 credentials = client.OAuth2Credentials(None, None, None, None,
1301 credentials = client.OAuth2Credentials(
1380 credentials = client.OAuth2Credentials(