code: public static OAuthRegisteredService getRegisteredOAuthServiceByRedirectUri(final ServicesManager servicesManager, final String redirectUri) {
          return getRegisteredOAuthServiceByPredicate(servicesManager, s -> s.matches(redirectUri));
      }
docs: Gets registered oauth service by redirect uri.
  
  @param servicesManager the services manager
  @param redirectUri     the redirect uri
  @return the registered OAuth service by redirect uri