static EndpointComponentFactory createServiceFactory(ClassLoader classLoader) {
        Map<String, Parameter> builtIns = new HashMap<>();
        Map<String, FunctionDefinition> libraryFunctions = new HashMap<>();
        List<AuthSchemeValidator> authSchemeValidators = new ArrayList<>();
        for (EndpointRuleSetExtension extension : ServiceLoader.load(EndpointRuleSetExtension.class, classLoader)) {
            String name;
            for (Parameter builtIn : extension.getBuiltIns()) {
                name = builtIn.getBuiltIn().get();
                if (builtIns.containsKey(name)) {
                    throw new RuntimeException("Attempted to load a duplicate built-in parameter: " + name);
                }
                builtIns.put(name, builtIn);
            }

            for (FunctionDefinition functionDefinition : extension.getLibraryFunctions()) {
                name = functionDefinition.getId();
                if (libraryFunctions.containsKey(name)) {
                    throw new RuntimeException("Attempted to load a duplicate library function: " + name);
                }
                libraryFunctions.put(name, functionDefinition);
            }

            authSchemeValidators.addAll(extension.getAuthSchemeValidators());
        }

        return createServiceFactory(builtIns, libraryFunctions, authSchemeValidators);
    }
Gets loaded authentication scheme validators.

@return a list of {@link AuthSchemeValidator}s.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/EndpointComponentFactory.java