1 implementation of IAntiforgeryAdditionalDataProvider
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgeryAdditionalDataProvider.cs (1)
11
internal sealed class DefaultAntiforgeryAdditionalDataProvider :
IAntiforgeryAdditionalDataProvider
9 references to IAntiforgeryAdditionalDataProvider
Microsoft.AspNetCore.Antiforgery (5)
AntiforgeryServiceCollectionExtensions.cs (1)
36
services.TryAddSingleton<
IAntiforgeryAdditionalDataProvider
, DefaultAntiforgeryAdditionalDataProvider>();
Internal\DefaultAntiforgeryAdditionalDataProvider.cs (1)
9
/// A default <see cref="
IAntiforgeryAdditionalDataProvider
"/> implementation.
Internal\DefaultAntiforgeryTokenGenerator.cs (3)
14
private readonly
IAntiforgeryAdditionalDataProvider
_additionalDataProvider;
18
IAntiforgeryAdditionalDataProvider
additionalDataProvider)
88
nameof(
IAntiforgeryAdditionalDataProvider
),
Microsoft.AspNetCore.Antiforgery.Test (4)
DefaultAntiforgeryTokenGeneratorTest.cs (4)
118
var mockAdditionalDataProvider = new Mock<
IAntiforgeryAdditionalDataProvider
>();
480
var mockAdditionalDataProvider = new Mock<
IAntiforgeryAdditionalDataProvider
>();
517
var mockAdditionalDataProvider = new Mock<
IAntiforgeryAdditionalDataProvider
>();
551
var mockAdditionalDataProvider = new Mock<
IAntiforgeryAdditionalDataProvider
>();