3 writes to AllowedSchemes
Microsoft.Extensions.ServiceDiscovery.Tests (2)
ConfigurationServiceEndpointResolverTests.cs (2)
70o.AllowedSchemes = ["https"]; 154o.AllowedSchemes = ["https"];
Microsoft.Extensions.ServiceDiscovery.Yarp.Tests (1)
YarpServiceDiscoveryTests.cs (1)
212o.AllowedSchemes = ["https"];
4 references to AllowedSchemes
Microsoft.Extensions.ServiceDiscovery (4)
Configuration\ConfigurationServiceEndpointProvider.cs (1)
44_schemes = ServiceDiscoveryOptions.ApplyAllowedSchemes(query.IncludedSchemes, serviceDiscoveryOptions.Value.AllowedSchemes, serviceDiscoveryOptions.Value.AllowAllSchemes);
Http\ResolvingHttpDelegatingHandler.cs (1)
115if (options.AllowAllSchemes || options.AllowedSchemes.Contains(scheme, StringComparer.OrdinalIgnoreCase))
Internal\ServiceDiscoveryOptionsValidator.cs (1)
12if (options.AllowedSchemes is null)
ServiceDiscoveryOptions.cs (1)
16/// If this value is <see langword="false"/>, only the schemes specified in <see cref="AllowedSchemes"/> are allowed.