class OAuthClientDetailsService {

  public void updateOAuthClientDetails(OAuthClientDetails oauthClientDetails) {
    logger.info("Updated OAuthClientDetails");
    oauthClientDetailsRepository.deleteAll();
    oauthClientDetailsRepository.save(oauthClientDetails);
  }

}