1 implementation of IAntiforgeryTokenGenerator
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgeryTokenGenerator.cs (1)
11internal sealed class DefaultAntiforgeryTokenGenerator : IAntiforgeryTokenGenerator
6 references to IAntiforgeryTokenGenerator
Microsoft.AspNetCore.Antiforgery (3)
AntiforgeryServiceCollectionExtensions.cs (1)
32services.TryAddSingleton<IAntiforgeryTokenGenerator, DefaultAntiforgeryTokenGenerator>();
Internal\DefaultAntiforgery.cs (2)
20private readonly IAntiforgeryTokenGenerator _tokenGenerator; 27IAntiforgeryTokenGenerator tokenGenerator,
Microsoft.AspNetCore.Antiforgery.Test (3)
DefaultAntiforgeryTest.cs (3)
1382IAntiforgeryTokenGenerator? tokenGenerator = null, 1494var mockGenerator = new Mock<IAntiforgeryTokenGenerator>(MockBehavior.Strict); 1562public Mock<IAntiforgeryTokenGenerator> TokenGenerator { get; set; } = default!;