1 implementation of ValidateAdditionalData
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgeryAdditionalDataProvider.cs (1)
20
public bool
ValidateAdditionalData
(HttpContext context, string additionalData)
4 references to ValidateAdditionalData
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgeryTokenGenerator.cs (1)
175
!_additionalDataProvider.
ValidateAdditionalData
(httpContext, requestToken.AdditionalData))
Microsoft.AspNetCore.Antiforgery.Test (3)
DefaultAntiforgeryTokenGeneratorTest.cs (3)
482
.Setup(o => o.
ValidateAdditionalData
(httpContext, "some-additional-data"))
518
mockAdditionalDataProvider.Setup(o => o.
ValidateAdditionalData
(httpContext, "some-additional-data"))
552
mockAdditionalDataProvider.Setup(o => o.
ValidateAdditionalData
(httpContext, "some-additional-data"))