8 instantiations of AntiforgeryValidationException
Microsoft.AspNetCore.Antiforgery (8)
Internal\DefaultAntiforgery.cs (5)
152throw new AntiforgeryValidationException( 161throw new AntiforgeryValidationException(message); 166throw new AntiforgeryValidationException(message); 173throw new AntiforgeryValidationException(message); 204throw new AntiforgeryValidationException(message);
Internal\DefaultAntiforgeryTokenSerializer.cs (1)
86throw new AntiforgeryValidationException(Resources.AntiforgeryToken_DeserializationFailed, innerException);
Internal\DefaultAntiforgeryTokenStore.cs (2)
64throw new AntiforgeryValidationException(Resources.AntiforgeryToken_UnableToReadRequest, ex); 70throw new AntiforgeryValidationException(Resources.AntiforgeryToken_UnableToReadRequest, ex);
7 references to AntiforgeryValidationException
Microsoft.AspNetCore.Antiforgery (6)
AntiforgeryMiddleware.cs (1)
46catch (AntiforgeryValidationException e)
AntiforgeryValidationException.cs (2)
12/// Creates a new instance of <see cref="AntiforgeryValidationException"/> with the specified 22/// Creates a new instance of <see cref="AntiforgeryValidationException"/> with the specified
IAntiforgery.cs (1)
55/// <exception cref="AntiforgeryValidationException">
Internal\AntiforgeryValidationFeature.cs (1)
5internal sealed class AntiforgeryValidationFeature(bool isValid, AntiforgeryValidationException? exception) : IAntiforgeryValidationFeature
Internal\DefaultAntiforgery.cs (1)
440catch (AntiforgeryValidationException ex)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\ValidateAntiforgeryTokenAuthorizationFilter.cs (1)
39catch (AntiforgeryValidationException exception)