core-android/src/main/java/com/uber/sdk/android/core/auth/LoginActivity.java
@NonNull
    static Intent newIntent(
            @NonNull Context context,
            @NonNull ArrayList<SupportedAppType> productPriority,
            @NonNull SessionConfiguration sessionConfiguration,
            @NonNull ResponseType responseType,
            boolean forceWebview,
            boolean isSsoEnabled,
            boolean isRedirectToPlayStoreEnabled) {

        final Intent data = new Intent(context, LoginActivity.class)
                .putExtra(EXTRA_PRODUCT_PRIORITY, productPriority)
                .putExtra(EXTRA_SESSION_CONFIGURATION, sessionConfiguration)
                .putExtra(EXTRA_RESPONSE_TYPE, responseType)
                .putExtra(EXTRA_FORCE_WEBVIEW, forceWebview)
                .putExtra(EXTRA_SSO_ENABLED, isSsoEnabled)
                .putExtra(EXTRA_REDIRECT_TO_PLAY_STORE_ENABLED, isRedirectToPlayStoreEnabled);

        return data;
    }
@NonNull
    static Intent newIntent(
            @NonNull Context context,
            @NonNull ArrayList<SupportedAppType> productPriority,
            @NonNull SessionConfiguration sessionConfiguration,
            @NonNull ResponseType responseType,
            boolean forceWebview,
            boolean isSsoEnabled,
            boolean isRedirectToPlayStoreEnabled) {

        final Intent data = new Intent(context, LoginActivity.class)
                .putExtra(EXTRA_PRODUCT_PRIORITY, productPriority)
                .putExtra(EXTRA_SESSION_CONFIGURATION, sessionConfiguration)
                .putExtra(EXTRA_RESPONSE_TYPE, responseType)
                .putExtra(EXTRA_FORCE_WEBVIEW, forceWebview)
                .putExtra(EXTRA_SSO_ENABLED, isSsoEnabled)
                .putExtra(EXTRA_REDIRECT_TO_PLAY_STORE_ENABLED, isRedirectToPlayStoreEnabled);

        return data;
    }
Create an {@link Intent} to pass to this activity

@param context the {@link Context} for the intent
@param productPriority dictates the order of which Uber applications should be used for SSO.
@param sessionConfiguration to be used for gather clientId
@param responseType that is expected
@param forceWebview Forced to use old webview instead of chrometabs
@param isSsoEnabled specifies whether to attempt login with SSO
@return an intent that can be passed to this activity