2 writes to IsOriginAllowed
Microsoft.AspNetCore.Cors (2)
Infrastructure\CorsPolicyBuilder.cs (2)
208
_policy.
IsOriginAllowed
= isOriginAllowed;
220
_policy.
IsOriginAllowed
= _policy.IsOriginAnAllowedSubdomain;
4 references to IsOriginAllowed
Microsoft.AspNetCore.Cors (4)
Infrastructure\CorsPolicy.cs (1)
75
/// Gets a value indicating if <see cref="
IsOriginAllowed
"/> is the default function that is set in the CorsPolicy constructor.
Infrastructure\CorsPolicyBuilder.cs (2)
213
/// Sets the <see cref="CorsPolicy.
IsOriginAllowed
"/> property of the policy to be a function
251
SetIsOriginAllowed(policy.
IsOriginAllowed
);
Infrastructure\CorsService.cs (1)
232
if (policy.AllowAnyOrigin || policy.
IsOriginAllowed
(originString))