3 writes to AllowAllSchemes
Microsoft.Extensions.ServiceDiscovery.Tests (2)
ConfigurationServiceEndpointResolverTests.cs (2)
69
o.
AllowAllSchemes
= false;
153
o.
AllowAllSchemes
= false;
Microsoft.Extensions.ServiceDiscovery.Yarp.Tests (1)
YarpServiceDiscoveryTests.cs (1)
211
o.
AllowAllSchemes
= false;
5 references to AllowAllSchemes
Microsoft.Extensions.ServiceDiscovery (4)
Configuration\ConfigurationServiceEndpointProvider.cs (1)
41
_includeAllSchemes = serviceDiscoveryOptions.Value.
AllowAllSchemes
&& query.IncludedSchemes.Count == 0;
Http\ResolvingHttpDelegatingHandler.cs (1)
115
if (options.
AllowAllSchemes
|| options.AllowedSchemes.Contains(scheme, StringComparer.OrdinalIgnoreCase))
ServiceDiscoveryOptions.cs (2)
30
/// When <see cref="
AllowAllSchemes
"/> is <see langword="true"/>, this property is ignored.
49
if (
AllowAllSchemes
)
Microsoft.Extensions.ServiceDiscovery.Yarp (1)
ServiceDiscoveryDestinationResolver.cs (1)
115
if (_options.
AllowAllSchemes
|| _options.AllowedSchemes.Contains(scheme, StringComparer.OrdinalIgnoreCase))