14 references to AllowAnyOrigin
Microsoft.AspNetCore.Cors (5)
Infrastructure\CorsPolicy.cs (1)
154builder.Append(AllowAnyOrigin);
Infrastructure\CorsPolicyBuilder.cs (1)
230if (_policy.AllowAnyOrigin && _policy.SupportsCredentials)
Infrastructure\CorsService.cs (3)
63if (policy.AllowAnyOrigin && policy.SupportsCredentials) 100if (policy.AllowAnyOrigin) 232if (policy.AllowAnyOrigin || policy.IsOriginAllowed(originString))
Microsoft.AspNetCore.Cors.Test (9)
CorsEndpointConventionBuilderExtensionsTests.cs (1)
51Assert.True(metadata.Policy.AllowAnyOrigin);
CorsPolicyBuilderTests.cs (7)
30Assert.False(corsPolicy.AllowAnyOrigin); 60Assert.False(corsPolicy.AllowAnyOrigin); 78Assert.False(corsPolicy.AllowAnyOrigin); 102Assert.False(corsPolicy.AllowAnyOrigin); 122Assert.False(corsPolicy.AllowAnyOrigin); 170Assert.True(corsPolicy.AllowAnyOrigin); 228Assert.False(corsPolicy.AllowAnyOrigin);
CorsPolicyTests.cs (1)
17Assert.False(corsPolicy.AllowAnyOrigin);