10 writes to SupportsCredentials
Microsoft.AspNetCore.Cors (2)
Infrastructure\CorsPolicyBuilder.cs (2)
142_policy.SupportsCredentials = true; 152_policy.SupportsCredentials = false;
Microsoft.AspNetCore.Cors.Test (8)
CorsPolicyBuilderTests.cs (1)
18originalPolicy.SupportsCredentials = true;
CorsPolicyTests.cs (1)
66SupportsCredentials = true
CorsServiceTests.cs (6)
22SupportsCredentials = true, 106SupportsCredentials = false 142SupportsCredentials = false 161SupportsCredentials = true 381SupportsCredentials = true 549policy.SupportsCredentials = true;
12 references to SupportsCredentials
Microsoft.AspNetCore.Cors (6)
Infrastructure\CorsPolicy.cs (1)
159builder.Append(SupportsCredentials);
Infrastructure\CorsPolicyBuilder.cs (2)
230if (_policy.AllowAnyOrigin && _policy.SupportsCredentials) 258if (policy.SupportsCredentials)
Infrastructure\CorsService.cs (3)
63if (policy.AllowAnyOrigin && policy.SupportsCredentials) 103result.VaryByOrigin = policy.SupportsCredentials; 112result.SupportsCredentials = policy.SupportsCredentials;
Microsoft.AspNetCore.Cors.Test (6)
CorsPolicyBuilderTests.cs (5)
31Assert.True(corsPolicy.SupportsCredentials); 79Assert.False(corsPolicy.SupportsCredentials); 103Assert.False(corsPolicy.SupportsCredentials); 316Assert.True(corsPolicy.SupportsCredentials); 330Assert.False(corsPolicy.SupportsCredentials);
CorsPolicyTests.cs (1)
18Assert.False(corsPolicy.SupportsCredentials);