9 references to AntiforgeryTokenSet
Microsoft.AspNetCore.Antiforgery (2)
Internal\DefaultAntiforgery.cs (1)
422return new AntiforgeryTokenSet(
Internal\DefaultAntiforgeryTokenStore.cs (1)
76return new AntiforgeryTokenSet(requestToken, cookieToken, _options.FormFieldName, _options.HeaderName);
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)
AntiforgeryExtensionsTest.cs (1)
20var tokenSet = new AntiforgeryTokenSet("request-token", "cookie-token", "form-field", "header");
DefaultHtmlGeneratorTest.cs (1)
1013return new AntiforgeryTokenSet("requestToken", "cookieToken", "formFieldName", "headerName");