1 implementation of IAntiforgeryTokenSerializer
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgeryTokenSerializer.cs (1)
10internal sealed class DefaultAntiforgeryTokenSerializer : IAntiforgeryTokenSerializer
7 references to IAntiforgeryTokenSerializer
Microsoft.AspNetCore.Antiforgery (3)
AntiforgeryServiceCollectionExtensions.cs (1)
33services.TryAddSingleton<IAntiforgeryTokenSerializer, DefaultAntiforgeryTokenSerializer>();
Internal\DefaultAntiforgery.cs (2)
21private readonly IAntiforgeryTokenSerializer _tokenSerializer; 28IAntiforgeryTokenSerializer tokenSerializer,
Microsoft.AspNetCore.Antiforgery.Test (4)
DefaultAntiforgeryTest.cs (4)
1383IAntiforgeryTokenSerializer? tokenSerializer = null, 1461private Mock<IAntiforgeryTokenSerializer> GetTokenSerializer(TestTokenSet testTokenSet) 1466var mockSerializer = new Mock<IAntiforgeryTokenSerializer>(MockBehavior.Strict); 1566public Mock<IAntiforgeryTokenSerializer> TokenSerializer { get; set; } = default!;