In AppEngine, there's a nice helper API for logging in and out users:
from google.appengine.api import users
...
if "user wants to log out"
users.create_logout_url(self.request.uri)
if "user is not logged in"
users.create_login_url(self.request.uri)
user = users.get_current_user()
To currently login with a GDataService, I have to do something like:
client = gdata.contacts.service.ContactsService()
client.ClientLogin('[EMAIL PROTECTED]', 'barpass')
Is it possible to authenticate the 'user' object from AppEngine with a
GDataService object?
-Marc
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---