1 implementation of IAntiforgeryTokenStore
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgeryTokenStore.cs (1)
11
internal sealed class DefaultAntiforgeryTokenStore :
IAntiforgeryTokenStore
7 references to IAntiforgeryTokenStore
Microsoft.AspNetCore.Antiforgery (3)
AntiforgeryServiceCollectionExtensions.cs (1)
34
services.TryAddSingleton<
IAntiforgeryTokenStore
, DefaultAntiforgeryTokenStore>();
Internal\DefaultAntiforgery.cs (2)
22
private readonly
IAntiforgeryTokenStore
_tokenStore;
29
IAntiforgeryTokenStore
tokenStore,
Microsoft.AspNetCore.Antiforgery.Test (4)
DefaultAntiforgeryTest.cs (4)
1384
IAntiforgeryTokenStore
? tokenStore = null)
1430
private Mock<
IAntiforgeryTokenStore
> GetTokenStore(
1437
var mockTokenStore = new Mock<
IAntiforgeryTokenStore
>(MockBehavior.Strict);
1564
public Mock<
IAntiforgeryTokenStore
> TokenStore { get; set; } = default!;