My task is to write an IMAP email client for Gmail. Until now, I know that the client must authenticate through OAuth (there is also a java library for IMAP authentication from Google). But I would like the user to not enter a password.
Android provides a great βnativeβ way to get authToken for google account services through the AccountManager. But I'm wondering how to use authToken and what is it for? Is it for GAE authentication only?
Is there a way to get oauthToken and oauthTokenSecret without a browser (via AccountManager)?
source share