apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/ExcludeClientCredentialsClientRegistrationRepository.java/ExcludeClientCredentialsClientRegistrationRepository/ExcludeClientCredentialsClientRegistrationRepository
class ExcludeClientCredentialsClientRegistrationRepository:  public ExcludeClientCredentialsClientRegistrationRepository(
      InMemoryClientRegistrationRepository delegate) {
    Objects.requireNonNull(delegate, "clientRegistrationRepository cannot be null");
    this.delegate = delegate;
    this.clientRegistrationList = Collections.unmodifiableList(StreamSupport
        .stream(Spliterators.spliteratorUnknownSize(delegate.iterator(), Spliterator.ORDERED),
            false)
        .filter(clientRegistration -> !AuthorizationGrantType.CLIENT_CREDENTIALS
            .equals(clientRegistration.getAuthorizationGrantType()))
        .collect(Collectors.toList()));
  }