Exemple #1
0
        public WapAuthenticationMiddleware(RequestDelegate next, IOcelotConfigurationProvider ocelotConfigurationProvider, IUrlPathToUrlTemplateMatcher urlMatcher, IPlaceholderNameAndValueFinder urlPathPlaceholderNameAndValueFinder)
        {
            _ocelotConfigurationProvider = ocelotConfigurationProvider;
            _urlMatcher = urlMatcher;
            _urlPathPlaceholderNameAndValueFinder = urlPathPlaceholderNameAndValueFinder;

            _next = next;
        }
 public DownstreamRouteFinder(IUrlPathToUrlTemplateMatcher urlMatcher, IPlaceholderNameAndValueFinder urlPathPlaceholderNameAndValueFinder)
 {
     _urlMatcher = urlMatcher;
     _placeholderNameAndValueFinder = urlPathPlaceholderNameAndValueFinder;
 }
Exemple #3
0
 public UrlPathPlaceholderNameAndValueFinderTests()
 {
     _finder = new UrlPathPlaceholderNameAndValueFinder();
 }