in TeamCity.GitHubIssues-server/src/main/java/jetbrains/buildServer/issueTracker/github/health/PasswordAuthReport.java [71:79]
public void report(@NotNull HealthStatusScope healthStatusScope,
@NotNull HealthStatusItemConsumer healthStatusItemConsumer) {
healthStatusScope.getProjects().stream()
.flatMap(p -> myIssueProvidersManager.getOwnProviders(p).values().stream())
.filter(it -> GitHubIssueProviderType.TYPE.equals(it.getType()))
.filter(it -> AUTH_LOGINPASSWORD.equals(it.getProperties().get(PARAM_AUTH_TYPE)))
.map(this::toHealthStatusItem)
.forEach(it -> healthStatusItemConsumer.consumeForProject(it.first, it.second));
}