Android AccountManager authToken and OAuth -



Android AccountManager authToken and OAuth -

my task write imap e-mail client gmail. far know client should authenticate through oauth (there's java library imap auth google). i'd set user free password typing.

android provides cool 'native' way gain authtoken google business relationship services via accountmanager. wonder how utilize authtoken , for? gae authentication?

is there way oauthtoken , oauthtokensecret without browser (via accountmanager)?

have tried using "oauth2:https://mail.google.com/" "auth token type" (authtokentype parameter) when calling accountmanager.getauttoken() ?

according said @ 46:50 in talk mentioned, should work.

by way, this page describes how oauth2 token google tasks, , has a link code sample. makes sounds matter of providing right authtokentype parameter.

android oauth accountmanager

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -