List<AuthDataProvider> (@NotNull String unifiedUrl) { List<AuthDataProvider> delegates = new ArrayList<>(); PasswordSafeProvider passwordSafeProvider = new PasswordSafeProvider(unifiedUrl, GitRememberedInputs.getInstance(), PasswordSafe.getInstance()); boolean showActionForGitHelper = GitConfigUtil.isCredentialHelperUsed(myProject, myWorkingDirectory); DialogProvider dialogProvider = new DialogProvider(unifiedUrl, myProject, passwordSafeProvider, showActionForGitHelper); if (myAuthenticationMode != AuthenticationMode.NONE) { delegates.add(passwordSafeProvider); } List<ExtensionAdapterProvider> extensionAdapterProviders = ContainerUtil.map(GitHttpAuthDataProvider.EP_NAME.getExtensionList(), (provider) -> new ExtensionAdapterProvider(unifiedUrl, myProject, provider)); if (myAuthenticationMode == AuthenticationMode.SILENT) { delegates.addAll(ContainerUtil.filter(extensionAdapterProviders, p -> p.myDelegate.isSilent())); } else if (myAuthenticationMode == AuthenticationMode.FULL) { delegates.addAll(extensionAdapterProviders); delegates.add(dialogProvider); } return delegates; }