Hi Marc,
If you're trying to authenticate from within App Engine, you
definitely want to use AuthSub instead of ClientLogin for your
authentication mechanism because App Engine does not currently support
SSL (from the browser) so any credentials submitted to your
application would travel over the wire in plaintext. Also, there is
currently not a way to "shortcut" authentication for Google Data
properties through the App Engine authentication system.
Cheers,
-Jeff
On Apr 9, 1:49 pm, Marc Chung <[EMAIL PROTECTED]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---