53 references to CorsPolicy
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsPolicyBuilder.cs (1)
13
private readonly CorsPolicy _policy = new
CorsPolicy
();
Microsoft.AspNetCore.Cors.Test (51)
CorsMiddlewareTests.cs (2)
112
var policy = new
CorsPolicy
();
159
var policy = new
CorsPolicy
();
CorsOptionsTest.cs (6)
13
var expectedPolicy = new
CorsPolicy
();
16
corsOptions.AddPolicy("policy1", new
CorsPolicy
());
18
corsOptions.AddPolicy("policy3", new
CorsPolicy
());
30
var expectedPolicy = new
CorsPolicy
();
33
corsOptions.AddDefaultPolicy(new
CorsPolicy
());
57
corsOptions.AddPolicy("policy3", new
CorsPolicy
());
CorsPolicyBuilderTests.cs (2)
13
var originalPolicy = new
CorsPolicy
();
48
var originalPolicy = new
CorsPolicy
();
CorsPolicyExtensionsTests.cs (4)
13
var policy = new
CorsPolicy
();
33
var policy = new
CorsPolicy
();
51
var policy = new
CorsPolicy
();
72
var policy = new
CorsPolicy
();
CorsPolicyTests.cs (4)
12
var corsPolicy = new
CorsPolicy
();
32
var policy = new
CorsPolicy
();
45
var policy = new
CorsPolicy
();
63
var corsPolicy = new
CorsPolicy
CorsServiceTests.cs (31)
19
var policy = new
CorsPolicy
40
var result = corsService.EvaluatePolicy(requestContext, new
CorsPolicy
());
53
var policy = new
CorsPolicy
();
69
var policy = new
CorsPolicy
();
84
var policy = new
CorsPolicy
()
104
var policy = new
CorsPolicy
124
var policy = new
CorsPolicy
();
140
var policy = new
CorsPolicy
159
var policy = new
CorsPolicy
178
var policy = new
CorsPolicy
();
195
var policy = new
CorsPolicy
();
212
var policy = new
CorsPolicy
();
230
var policy = new
CorsPolicy
();
247
var policy = new
CorsPolicy
();
263
var policy = new
CorsPolicy
();
280
var policy = new
CorsPolicy
();
299
var policy = new
CorsPolicy
();
316
var policy = new
CorsPolicy
();
339
var policy = new
CorsPolicy
();
360
var policy = new
CorsPolicy
379
var policy = new
CorsPolicy
399
var policy = new
CorsPolicy
419
var policy = new
CorsPolicy
439
var policy = new
CorsPolicy
();
461
var policy = new
CorsPolicy
();
479
var policy = new
CorsPolicy
();
502
var policy = new
CorsPolicy
();
525
var policy = new
CorsPolicy
();
545
var policy = new
CorsPolicy
();
908
var policy = new
CorsPolicy
();
926
var policy = new
CorsPolicy
();
DefaultCorsPolicyProviderTests.cs (2)
16
var policy = new
CorsPolicy
();
36
var policy = new
CorsPolicy
();
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsAuthorizationFilterTest.cs (1)
121
.Returns(Task.FromResult(new
CorsPolicy
()));