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)
212
o.
AllowedSchemes
= ["https"];
6 references to AllowedSchemes
Microsoft.Extensions.ServiceDiscovery (5)
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 (3)
17
/// If this value is <see langword="false"/>, only the schemes specified in <see cref="
AllowedSchemes
"/> are allowed.
57
foreach (var allowed in
AllowedSchemes
)
71
return new ReadOnlyCollection<string>(
AllowedSchemes
);
Microsoft.Extensions.ServiceDiscovery.Yarp (1)
ServiceDiscoveryDestinationResolver.cs (1)
115
if (_options.AllowAllSchemes || _options.
AllowedSchemes
.Contains(scheme, StringComparer.OrdinalIgnoreCase))