def authenticate(self, secrets): """ Run the authentication process and return an authorized http object Parameters ---------- secrets : str File name for client secrets Notes ----- See google documention for format of secrets file %s """ % DOC_URL flow = self._create_flow(secrets) return auth.authenticate(flow, self.token_store)