9 instantiations of AntiforgeryTokenSet
Microsoft.AspNetCore.Antiforgery (2)
Microsoft.AspNetCore.Antiforgery.Test (5)
DefaultAntiforgeryTest.cs (5)
850var tokenSet = new AntiforgeryTokenSet(null, null, "form-field-name", null);
874var tokenSet = new AntiforgeryTokenSet(null, "cookie-token", "form-field-name", null);
900var tokenSet = new AntiforgeryTokenSet(null, "cookie-token", "form-field-name", "header-name");
926var tokenSet = new AntiforgeryTokenSet(null, "cookie-token", "form-field-name", "header-name");
1444.Returns(() => Task.FromResult(new AntiforgeryTokenSet(
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
52 references to AntiforgeryTokenSet
Microsoft.AspNetCore.Antiforgery (18)
Microsoft.AspNetCore.Antiforgery.Test (18)
DefaultAntiforgeryTest.cs (18)
143var tokenset = antiforgery.GetTokens(context.HttpContext);
180var tokenset = antiforgery.GetTokens(context.HttpContext);
200var tokenset = antiforgery.GetTokens(context.HttpContext);
235var tokenset = antiforgery.GetTokens(context.HttpContext);
265var tokenSet = antiforgery.GetAndStoreTokens(context.HttpContext);
298var tokenSet = antiforgery.GetAndStoreTokens(context.HttpContext);
329var tokenSet = antiforgery.GetAndStoreTokens(context.HttpContext);
457var tokenSet = antiforgery.GetAndStoreTokens(context.HttpContext);
491var tokenSet = antiforgery.GetAndStoreTokens(context.HttpContext);
533var tokenset = antiforgery.GetAndStoreTokens(context.HttpContext);
578var tokenset = antiforgery.GetAndStoreTokens(context.HttpContext);
850var tokenSet = new AntiforgeryTokenSet(null, null, "form-field-name", null);
874var tokenSet = new AntiforgeryTokenSet(null, "cookie-token", "form-field-name", null);
900var tokenSet = new AntiforgeryTokenSet(null, "cookie-token", "form-field-name", "header-name");
926var tokenSet = new AntiforgeryTokenSet(null, "cookie-token", "form-field-name", "header-name");
1296var tokenSet = antiforgery.GetAndStoreTokens(context.HttpContext);
1335var tokenSet = antiforgery.GetAndStoreTokens(context.HttpContext);
1369var tokenSet = antiforgery.GetAndStoreTokens(context.HttpContext);
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Microsoft.AspNetCore.Routing.FunctionalTests (7)
MinimalFormSample (1)