core-android/src/main/java/com/uber/sdk/android/core/auth/LoginManager.java
public void loginForAuthorizationCode(@NonNull Activity activity) {
        if (!legacyUriRedirectHandler.checkValidState(activity, this)) {
            return;
        }

        Intent intent = LoginActivity.newIntent(activity, sessionConfiguration,
                ResponseType.CODE, legacyUriRedirectHandler.isLegacyMode());
        activity.startActivityForResult(intent, requestCode);
    }
public void loginForAuthorizationCode(@NonNull Activity activity) {
        if (!legacyUriRedirectHandler.checkValidState(activity, this)) {
            return;
        }

        Intent intent = LoginActivity.newIntent(activity, sessionConfiguration,
                ResponseType.CODE, legacyUriRedirectHandler.isLegacyMode());
        activity.startActivityForResult(intent, requestCode);
    }
public void loginForAuthorizationCode ( @ NonNull Activity activity ) { if ( ! legacyUriRedirectHandler . checkValidState ( activity , this ) ) { return ; } Intent intent = LoginActivity . newIntent ( activity , sessionConfiguration , ResponseType . CODE , legacyUriRedirectHandler . isLegacyMode ( ) ) ; activity . startActivityForResult ( intent , requestCode ) ; }
login with Authorization Code mode.

@param activity to start Activity on.
login with Authorization Code mode .