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