Third Party Authentication for Android Part III - Android OAuth2 implicit flow
This change implements the OAuth2 implicit flow to fetch a third party token from the user. 1. Introduces a class ThirdPartyTokenFetcher to pop up a third party login page located at |tokenurl| in the browser. 2. Introduces a class OAuthRedirectActivity, which has an intent filter declared in the manifest to intercept the redirect URI upon a successful login. 3. It then starts the chromoting activity, which uses the ThirdPartyTokenFetcher to extract the code and token from the URI and pass it into the native component using JNI. BUG=329109 Review URL: https://codereview.chromium.org/337013002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278062 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment