public static List<SingleLogoutUrl> from(final RegisteredService service) {
        if (service instanceof final WebBasedRegisteredService registeredService
            && StringUtils.hasText(registeredService.getLogoutUrl())) {
            return Arrays.stream(StringUtils.commaDelimitedListToStringArray(registeredService.getLogoutUrl()))
                .map(url -> new SingleLogoutUrl(url, registeredService.getLogoutType()))
                .collect(Collectors.toList());
        }
        return new ArrayList<>();
    }
Determine logout url assigned to a registered service.

@param service the registered service
@return the list
api/cas-server-core-api-logout/src/main/java/org/apereo/cas/logout/slo/SingleLogoutUrl.java