code: @Bean
  	@ConditionalOnMissingBean
  	@ConditionalOnClass(name = "org.springframework.web.reactive.function.client.WebClient")
  	public ReactiveCredHubOperations reactiveCredHubTemplate(
  			CredHubProperties credHubProperties, ClientOptions clientOptions,
  			@Autowired(required = false) ReactiveClientRegistrationRepository clientRegistrationRepository,
  			@Autowired(required = false) ServerOAuth2AuthorizedClientRepository authorizedClientRepository) {
  
  		if (credHubProperties.getOauth2() == null || credHubProperties.getOauth2().getRegistrationId() == null) {
  			return credHubTemplateFactory.reactiveCredHubTemplate(credHubProperties, clientOptions);
  		}
  
  		if (clientRegistrationRepository == null || authorizedClientRepository == null) {
  			throw misconfiguredException();
  		}
  		return credHubTemplateFactory.reactiveCredHubTemplate(credHubProperties, clientOptions,
  				clientRegistrationRepository, authorizedClientRepository);
  	}
docs: Create the {@link ReactiveCredHubTemplate} that the application will use to interact
  with CredHub.
  
  @param credHubProperties            {@link CredHubProperties} for CredHub
  @param clientOptions                client connection options
  @param clientRegistrationRepository a repository of OAuth2 client registrations
  @param authorizedClientRepository   a repository of OAuth2 authorized clients
  @return the {@link CredHubTemplate} bean