1 write to _tokenGenerator
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgery.cs (1)
33
_tokenGenerator
= tokenGenerator;
6 references to _tokenGenerator
Microsoft.AspNetCore.Antiforgery (6)
Internal\DefaultAntiforgery.cs (6)
124
var result =
_tokenGenerator
.TryValidateTokenSet(
198
if (!
_tokenGenerator
.TryValidateTokenSet(
304
if (
_tokenGenerator
.IsCookieTokenValid(cookieToken))
312
newCookieToken =
_tokenGenerator
.GenerateCookieToken();
313
Debug.Assert(
_tokenGenerator
.IsCookieTokenValid(newCookieToken));
349
antiforgeryFeature.NewRequestToken =
_tokenGenerator
.GenerateRequestToken(