My earlier change to add TryValidateRequestAsync didn't go far enough, because the store will still throw when the tokens aren't present. This change is to make the store just return null tokens in these cases, and move the exceptions to DefaultAntiforgery. |
||
|---|---|---|
| .. | ||
| Microsoft.AspNetCore.Antiforgery.FunctionalTests | ||
| Microsoft.AspNetCore.Antiforgery.Test | ||