3 writes to AllowedSchemes
Microsoft.Extensions.ServiceDiscovery.Tests (2)
ConfigurationServiceEndpointResolverTests.cs (2)
70
o.
AllowedSchemes
= ["https"];
154
o.
AllowedSchemes
= ["https"];
Microsoft.Extensions.ServiceDiscovery.Yarp.Tests (1)
YarpServiceDiscoveryTests.cs (1)
211
o.
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)
115
if (options.AllowAllSchemes || options.
AllowedSchemes
.Contains(scheme, StringComparer.OrdinalIgnoreCase))
Internal\ServiceDiscoveryOptionsValidator.cs (1)
12
if (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.