7 references to RequestValidationState
Microsoft.AspNetCore.Components.Endpoints (7)
RazorComponentEndpointInvoker.cs (7)
61var result = await ValidateRequestAsync(context, antiforgeryMetadata?.RequiresValidation == true ? antiforgery : null); 160private async Task<RequestValidationState> ValidateRequestAsync(HttpContext context, IAntiforgery? antiforgery) 181return RequestValidationState.InvalidPostRequest; 229return RequestValidationState.InvalidPostRequest; 239return RequestValidationState.ValidNonPostRequest; 263public static readonly RequestValidationState ValidNonPostRequest = new(true, false, null); 264public static readonly RequestValidationState InvalidPostRequest = new(false, true, null);