Esempio n. 1
0
 def _init_service(self, secrets):
     """
     Build an authenticated google api request service using the given
     secrets file
     """
     http = self.authenticate(secrets)
     return auth.init_service(http)
Esempio n. 2
0
 def _init_service(self, secrets):
     """
     Build an authenticated google api request service using the given
     secrets file
     """
     http = self.authenticate(secrets)
     return auth.init_service(http)
Esempio n. 3
0
 def _init_service(self):
     credentials = SignedJwtAssertionCredentials(
         self.client_email, self.private_key, self.scope)
     http = Http()
     http = credentials.authorize(http)
     return auth.init_service(http)