8 instantiations of AntiforgeryValidationException
Microsoft.AspNetCore.Antiforgery (8)
Internal\DefaultAntiforgery.cs (5)
152
throw new
AntiforgeryValidationException
(
161
throw new
AntiforgeryValidationException
(message);
166
throw new
AntiforgeryValidationException
(message);
173
throw new
AntiforgeryValidationException
(message);
204
throw new
AntiforgeryValidationException
(message);
Internal\DefaultAntiforgeryTokenSerializer.cs (1)
86
throw new
AntiforgeryValidationException
(Resources.AntiforgeryToken_DeserializationFailed, innerException);
Internal\DefaultAntiforgeryTokenStore.cs (2)
64
throw new
AntiforgeryValidationException
(Resources.AntiforgeryToken_UnableToReadRequest, ex);
70
throw new
AntiforgeryValidationException
(Resources.AntiforgeryToken_UnableToReadRequest, ex);
7 references to AntiforgeryValidationException
Microsoft.AspNetCore.Antiforgery (6)
AntiforgeryMiddleware.cs (1)
46
catch (
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)
5
internal sealed class AntiforgeryValidationFeature(bool isValid,
AntiforgeryValidationException
? exception) : IAntiforgeryValidationFeature
Internal\DefaultAntiforgery.cs (1)
440
catch (
AntiforgeryValidationException
ex)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\ValidateAntiforgeryTokenAuthorizationFilter.cs (1)
39
catch (
AntiforgeryValidationException
exception)