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 251SetIsOriginAllowed(policy.IsOriginAllowed);
Infrastructure\CorsService.cs (1)
232if (policy.AllowAnyOrigin || policy.IsOriginAllowed(originString))