20 references to AnyOrigin
Microsoft.AspNetCore.Cors (3)
Infrastructure\CorsPolicy.cs (1)
65if (Origins == null || Origins.Count != 1 || Origins[0] != CorsConstants.AnyOrigin)
Infrastructure\CorsPolicyBuilder.cs (1)
163_policy.Origins.Add(CorsConstants.AnyOrigin);
Infrastructure\CorsService.cs (1)
102result.AllowedOrigin = CorsConstants.AnyOrigin;
Microsoft.AspNetCore.Cors.Test (17)
CorsServiceTests.cs (17)
109policy.Origins.Add(CorsConstants.AnyOrigin); 125policy.Origins.Add(CorsConstants.AnyOrigin); 144policy.Origins.Add(CorsConstants.AnyOrigin); 179policy.Origins.Add(CorsConstants.AnyOrigin); 248policy.Origins.Add(CorsConstants.AnyOrigin); 264policy.Origins.Add(CorsConstants.AnyOrigin); 281policy.Origins.Add(CorsConstants.AnyOrigin); 300policy.Origins.Add(CorsConstants.AnyOrigin); 317policy.Origins.Add(CorsConstants.AnyOrigin); 340policy.Origins.Add(CorsConstants.AnyOrigin); 403policy.Origins.Add(CorsConstants.AnyOrigin); 423policy.Origins.Add(CorsConstants.AnyOrigin); 440policy.Origins.Add(CorsConstants.AnyOrigin); 462policy.Origins.Add(CorsConstants.AnyOrigin); 480policy.Origins.Add(CorsConstants.AnyOrigin); 503policy.Origins.Add(CorsConstants.AnyOrigin); 526policy.Origins.Add(CorsConstants.AnyOrigin);