1 write to _tokenGenerator
Microsoft.AspNetCore.Antiforgery.Microbenchmarks (1)
Benchmarks\AntiforgeryTokenGeneratorBenchmarks.cs (1)
38
_tokenGenerator
= serviceProvider.GetRequiredService<IAntiforgeryTokenGenerator>();
5 references to _tokenGenerator
Microsoft.AspNetCore.Antiforgery.Microbenchmarks (5)
Benchmarks\AntiforgeryTokenGeneratorBenchmarks.cs (5)
94
return
_tokenGenerator
.GenerateRequestToken(_anonymousHttpContext, _anonymousCookieToken);
100
return
_tokenGenerator
.GenerateRequestToken(_authenticatedHttpContext, _authenticatedCookieToken);
106
return
_tokenGenerator
.TryValidateTokenSet(
116
return
_tokenGenerator
.TryValidateTokenSet(
126
return
_tokenGenerator
.TryValidateTokenSet(