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