Lines Matching refs:jwt
391 self.jwt = service_account._JWTAccessCredentials(
402 token_info = self.jwt.get_access_token()
414 token_info = self.jwt.get_access_token()
425 token_info = self.jwt.get_access_token()
440 token_info = self.jwt.get_access_token(
456 self.jwt.revoke(None)
459 self.assertTrue(self.jwt.create_scoped_required())
462 self.jwt._private_key_pkcs12 = ''
463 self.jwt._private_key_password = ''
465 new_credentials = self.jwt.create_scoped('dummy_scope')
466 self.assertNotEqual(self.jwt, new_credentials)
495 self.jwt.authorize(h)
508 jwt = service_account._JWTAccessCredentials(
530 jwt.authorize(h)
534 self.assertIsNone(jwt.access_token)
542 self.jwt.authorize(h)
544 token_1 = self.jwt.access_token
549 token_2 = self.jwt.access_token
550 self.assertEquals(self.jwt.token_expiry, T3_EXPIRY_DATE)
561 self.jwt.authorize(h)
563 token_1 = self.jwt.access_token
567 token_2 = self.jwt.access_token
574 token_1 = self.jwt.access_token
577 self.jwt.refresh(None)
578 token_2 = self.jwt.access_token
579 self.assertEquals(self.jwt.token_expiry, T2_EXPIRY_DATE)