@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "gcpFirestoreServiceRegistry")
    public ServiceRegistry gcpFirestoreServiceRegistry(
        final CasConfigurationProperties casProperties,
        @Qualifier("firestore")
        final Firestore firestore,
        final ObjectProvider<List<ServiceRegistryListener>> serviceRegistryListeners,
        final ConfigurableApplicationContext applicationContext) {
        return new GoogleCloudFirestoreServiceRegistry(applicationContext, serviceRegistryListeners.getObject(),
            firestore, casProperties.getServiceRegistry().getGoogleCloudFirestore().getCollection());
    }
This is {@link CasGoogleCloudFirestoreServiceRegistryAutoConfiguration}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-gcp-firestore-service-registry/src/main/java/org/apereo/cas/config/CasGoogleCloudFirestoreServiceRegistryAutoConfiguration.java