google api - How to get the OAuth token from within android app? -


i have register app , prepared link generate oauth 2.0 users of apps.

which way works android?

listening to: localhost:portnumber or returning token in web page's title?

and how create button request authentication user.

if looking on how obtain access token access google api's user data protected oauth2 authorization, want read how use googleauthutil class request 'oauth2:' tokens. 2 sources are:

https://developer.android.com/google/play-services/auth.html

and

http://android-developers.blogspot.com/2012/09/google-play-services-and-oauth-identity.html

if looking token authenticate app + signed-in google user home server, should googleauthutil, request 'audience:' token:

http://android-developers.blogspot.com/2013/01/verifying-back-end-calls-from-android.html


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -