1 implementation of IsValid
Microsoft.AspNetCore.Antiforgery (1)
Internal\AntiforgeryValidationFeature.cs (1)
9
public bool
IsValid
{ get; } = isValid;
4 references to IsValid
Microsoft.AspNetCore.Components.Endpoints (1)
RazorComponentEndpointInvoker.cs (1)
230
if (!antiForgeryValidationFeature.
IsValid
)
Microsoft.AspNetCore.Http (1)
Features\FormFeature.cs (1)
364
var hasInvalidToken = _request.HttpContext.Features.Get<IAntiforgeryValidationFeature>() is {
IsValid
: false };
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
1545
if (httpContext.Features.Get<IAntiforgeryValidationFeature>() is {
IsValid
: false } antiforgeryValidationFeature)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\AntiforgeryMiddlewareAuthorizationFilter.cs (1)
22
if (antiforgeryValidationFeature is {
IsValid
: false })