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