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