Exemplo 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)
Exemplo 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)
Exemplo 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)