static Intent newIntent()

in core-android/src/main/java/com/uber/sdk/android/core/auth/LoginActivity.java [154:172]


    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;
    }