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