5 references to IsValid
Microsoft.AspNetCore.Antiforgery.Test (1)
AntiforgeryMiddlewareTest.cs (1)
27Assert.True(httpContext.Features.Get<IAntiforgeryValidationFeature>()?.IsValid);
Microsoft.AspNetCore.Components.Endpoints (1)
RazorComponentEndpointInvoker.cs (1)
190if (!antiForgeryValidationFeature.IsValid)
Microsoft.AspNetCore.Http (1)
Features\FormFeature.cs (1)
364var hasInvalidToken = _request.HttpContext.Features.Get<IAntiforgeryValidationFeature>() is { IsValid: false };
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
1511if (httpContext.Features.Get<IAntiforgeryValidationFeature>() is { IsValid: false } antiforgeryValidationFeature)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\AntiforgeryMiddlewareAuthorizationFilter.cs (1)
22if (antiforgeryValidationFeature is { IsValid: false })