Hi Devraj, Yes you can use ClientLogin (which sends the user's username and password over SSL in exchange for an auth token) to obtain a cookie which is used by App Engine's users API to determine the current user. I wrote a small open source Python library to accomplish this (based on the gdata-python-client) and I wrote up a description on my personal blog:
http://blog.jeffscudder.com/2009/08/test-client-for-app-engine.html You could build a non-browser-based client library like this is just about any language. Happy coding, Jeff On Sun, Oct 4, 2009 at 10:15 PM, Devraj Mukherjee <[email protected]> wrote: > > Hi all, > > My AppEngine application (written in Python) provides a REST API that > is used by a jQuery based web front end. Users are required to > authenticate themselves to use my application and obviously I am able > protect both my REST services and the UI parts setting login: required > in app.yaml > > I wish to now write a consumer for my REST API to ship as a client > library (preferred languages Python and/or Objective-C). How should I > go about handling the authentication? > > Should authenticating using the GData libraries work? > > Thanks for any pointers. > > -- > "The secret impresses no-one, the trick you use it for is everything" > - Alfred Borden (The Prestiege) > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
