Oauth2.0 general implementation for Android.