|
Hi Jeff, Some of points were touched by Mike in other mail. You can find my answers below marked as [II]. Regards, Igor Jeff Squyres wrote: [II] I believe that it is possible task. It could be done in two ways:On Feb 5, 2010, at 4:56 AM, Igor Ivanov wrote: set google account e-mail in mttdatabase_username key of ini-file 1) provide for filling User.username with google account e-mail and change code of User.check_password in file gds/auth/models.py to with google account verification code code example (I have not checked one): request_body = urllib.urlencode({'Email': username,
'Passwd': raw_password,
'accountType': 'HOSTED_OR_GOOGLE',
'service': 'ah',
'source': 'test'})
auth_response = urlfetch.fetch('https://www.google.com/accounts/ClientLogin',
method=urlfetch.POST,
headers={'Content-type':'application/x-www-form-urlencoded',
'Content-Length':
str(len(request_body))},
payload=request_body)
auth_response.status_code
2) provide for filling User.emailwith google account e-mail and modify
authenticate code in auth/__init__.py with query by User.email and
implement google account verification code.Keep in mind performance difference between google account verification code and local verification!
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4852 (20100209) __________ The message was checked by ESET NOD32 Antivirus. http://www.esetnod32.ru |
- Re: [MTT devel] MTToGDS Ethan Mallove
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Igor Ivanov
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Igor Ivanov
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Igor Ivanov
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Igor Ivanov
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Igor Ivanov
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Igor Ivanov
- Re: [MTT devel] MTToGDS Igor Ivanov
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Jeff Squyres
- Re: [MTT devel] MTToGDS Jeff Squyres
