6 writes to AllowedOrigin
Microsoft.AspNetCore.Cors (2)
Infrastructure\CorsService.cs (2)
102result.AllowedOrigin = CorsConstants.AnyOrigin; 108result.AllowedOrigin = origin;
Microsoft.AspNetCore.Cors.Test (3)
CorsResultTests.cs (1)
49AllowedOrigin = "*"
CorsServiceTests.cs (2)
583AllowedOrigin = "http://example.com" 603AllowedOrigin = null
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsAuthorizationFilterTest.cs (1)
235result.AllowedOrigin = origin;
14 references to AllowedOrigin
Microsoft.AspNetCore.Cors (2)
Infrastructure\CorsResult.cs (1)
91builder.Append(AllowedOrigin);
Infrastructure\CorsService.cs (1)
165headers.AccessControlAllowOrigin = result.AllowedOrigin;
Microsoft.AspNetCore.Cors.Test (11)
CorsResultTests.cs (1)
19Assert.Null(result.AllowedOrigin);
CorsServiceTests.cs (10)
43Assert.Null(result.AllowedOrigin); 115Assert.Equal("*", result.AllowedOrigin); 131Assert.Equal("*", result.AllowedOrigin); 185Assert.Equal("*", result.AllowedOrigin); 202Assert.Equal("http://example.com", result.AllowedOrigin); 220Assert.Equal("http://example.com", result.AllowedOrigin); 237Assert.Equal("http://example.com", result.AllowedOrigin); 348Assert.Equal("http://example.com", result.AllowedOrigin); 370Assert.Equal("http://example.com", result.AllowedOrigin); 916Assert.NotNull(result.AllowedOrigin);
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsAuthorizationFilterTest.cs (1)
198headers[CorsConstants.AccessControlAllowOrigin] = result1.AllowedOrigin;