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
Post a Comment