One more question concerning the invalidation of the AuthToken. I read that it invalidates after 24h. What is when the Activity, holding the AuthToken (in NicksBlog the AppInfo class), ends (with finish() and onDestroy) and started again? In my opinion a new valid AuthToken is fetched every time the Appinfo class gets started. In this case, why do I have to invalidate the old AuthToken?
On 6 Feb., 19:46, Sky <[email protected]> wrote: > thanks for the clarification! > > On 6 Feb., 17:16, Fabrizio Accatino <[email protected]> wrote: > > > The Nick's way is the good way. > > > My note was about "OAuth". Afaik Android AccountManager class uses > > ClientLogin for authentication on App Engine. > > > Fabrizio > > > On Sun, Feb 6, 2011 at 5:03 PM, Sky <[email protected]>wrote: > > > > thanks for the answer. I will try it, as soon as my new mobile sim > > > card has been activated ;). In the 2.3 emulator it worked with another > > > account... > > > > ClientLogin: I did not find any sample code. The best documented way I > > > found was Nick's blog. Maybe Google should provide some Tutorials/libs > > > with sample code, that demonstrates the "perfect way" to authenticate > > > an Android app with app engine using Google accounts... > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-java?hl=en.
