1 implementation of GenerateRequestToken
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgeryTokenGenerator.cs (1)
35public AntiforgeryToken GenerateRequestToken(
4 references to GenerateRequestToken
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgery.cs (1)
349antiforgeryFeature.NewRequestToken = _tokenGenerator.GenerateRequestToken(
Microsoft.AspNetCore.Antiforgery.Microbenchmarks (2)
Benchmarks\AntiforgeryTokenGeneratorBenchmarks.cs (2)
94return _tokenGenerator.GenerateRequestToken(_anonymousHttpContext, _anonymousCookieToken); 100return _tokenGenerator.GenerateRequestToken(_authenticatedHttpContext, _authenticatedCookieToken);
Microsoft.AspNetCore.Antiforgery.Test (1)
DefaultAntiforgeryTest.cs (1)
1496.Setup(o => o.GenerateRequestToken(