Esempio n. 1
0
 def __init__(self, aid=None, email=''):
     from oauth2client.client import OAuth2WebServerFlow
     Account.__init__(self, aid)
     self.authFile = splitext(self.file)[0] + '.oauth2'
     self.email = email
     self.flow = OAuth2WebServerFlow(
         client_id='536861675971.apps.googleusercontent.com',
         client_secret='BviBsCKTbXrzY0hZbioS6FAt',
         scope=[
             'https://www.googleapis.com/auth/calendar',
             'https://www.googleapis.com/auth/tasks',
         ],
         user_agent='%s/%s'%(core.APP_NAME, core.VERSION),
     )
Esempio n. 2
0
 def __init__(self, aid=None, email=''):
     from oauth2client.client import OAuth2WebServerFlow
     Account.__init__(self, aid)
     self.authFile = splitext(self.file)[0] + '.oauth2'
     self.email = email
     self.flow = OAuth2WebServerFlow(
         client_id='536861675971.apps.googleusercontent.com',
         client_secret='BviBsCKTbXrzY0hZbioS6FAt',
         scope=[
             'https://www.googleapis.com/auth/calendar',
             'https://www.googleapis.com/auth/tasks',
         ],
         user_agent='%s/%s' % (core.APP_NAME, core.VERSION),
     )
Esempio n. 3
0
	def __init__(self, aid=None, email=""):
		from oauth2client.client import OAuth2WebServerFlow
		Account.__init__(self, aid)
		self.authFile = splitext(self.file)[0] + ".oauth2"
		self.email = email
		self.flow = OAuth2WebServerFlow(
			client_id="536861675971.apps.googleusercontent.com",
			client_secret="BviBsCKTbXrzY0hZbioS6FAt",
			scope=[
				"https://www.googleapis.com/auth/calendar",
				"https://www.googleapis.com/auth/tasks",
			],
			user_agent="%s/%s" % (core.APP_NAME, core.VERSION),
		)
Esempio n. 4
0
	def __init__(self, aid=None):
		Account.__init__(self, aid)
		self.email = ""
		self.password = ""
		self.lastToken = ""
Esempio n. 5
0
 def __init__(self, aid=None):
     Account.__init__(self, aid)
     self.email = ""
     self.password = ""
     self.lastToken = ""