Home
last modified time | relevance | path

Searched refs:ShouldRefresh (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Dtest_oauth2_client.py181 self.assertFalse(token.ShouldRefresh())
184 self.assertFalse(token.ShouldRefresh())
187 self.assertFalse(token.ShouldRefresh())
191 self.assertTrue(token.ShouldRefresh())
195 self.assertTrue(token.ShouldRefresh())
198 self.assertFalse(token.ShouldRefresh(time_delta=120))
202 self.assertTrue(token.ShouldRefresh(time_delta=120))
212 self.assertFalse(token.ShouldRefresh())
216 self.assertFalse(token.ShouldRefresh())
Doauth2_client.py314 if access_token is None or access_token.ShouldRefresh():
714 def ShouldRefresh(self, time_delta=300): member in AccessToken