static EndpointComponentFactory createServiceFactory(
            Map<String, Parameter> builtIns,
            Map<String, FunctionDefinition> libraryFunctions,
            List<AuthSchemeValidator> authSchemeValidators
    ) {
        return new EndpointComponentFactory() {
            @Override
            public boolean hasBuiltIn(String name) {
                return builtIns.containsKey(name);
            }

            @Override
            public String getKeyString() {
                return String.join(", ", builtIns.keySet());
            }

            @Override
            public Function<FunctionNode, Optional<LibraryFunction>> createFunctionFactory() {
                return node -> {
                    if (libraryFunctions.containsKey(node.getName())) {
                        return Optional.of(libraryFunctions.get(node.getName()).createFunction(node));
                    }
                    return Optional.empty();
                };
            }

            @Override
            public List<AuthSchemeValidator> getAuthSchemeValidators() {
                return 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