1 implementation of Policy
Microsoft.AspNetCore.Cors (1)
CorsPolicyMetadata.cs (1)
25
public CorsPolicy
Policy
{ get; }
3 references to Policy
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsMiddleware.cs (1)
137
corsPolicy = corsPolicyMetadata.
Policy
;
Microsoft.AspNetCore.Cors.Test (2)
CorsEndpointConventionBuilderExtensionsTests.cs (2)
50
Assert.NotNull(metadata.
Policy
);
51
Assert.True(metadata.
Policy
.AllowAnyOrigin);