Thanks for this. I'm able to get the auth token after granting permission to the app. Anyone have any ideas how to clear the credential information once you have allowed an app to access them?
Uninstalling the app doesn't work, and under Location & Security Settings, "Clear storage" is grayed out. I'm not able to test this functionality in the emulator...any ideas on how to clear access to credentials without doing a factory reset? On Dec 3, 2:59 pm, RoryD <[email protected]> wrote: > On Nov 9, 5:00 pm, Nerdrow <[email protected]> wrote: > > > I don't know the authTokenType to pass as an input parameter. > > It looks like "ah" does the trick for authTokenType! > > If you specify true for notifyAuthFail, you'll get a notification > posted saying "Permission Requested" that takes you to a screen where > Android says "The listed applications are requesting permission to > access the Google App Engine login credentials foraccount > [email protected]. Do you wish to grant this permission?" then Allow/ > Deny buttons and the name of your app. > > I was using blockingGetAuthToken & it returns null for the token in > this first case, presumably because there's no way to proceed without > user interaction. After you authorize the app, subsequent > blockingGetAuthToken calls succeed. I suspect non-blocking > getAuthToken calls will properly handle this asynchronous behavior. > > Sweet, now I can remove all my homegrown AppEngine auth stuff :-) -- You received this message because you are subscribed to the Google Groups "Android Developers" 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/android-developers?hl=en

