1 write to NewCookieTokenString
Microsoft.AspNetCore.Antiforgery.Test (1)
DefaultAntiforgeryTest.cs (1)
1535
NewCookieTokenString
= "serialized-new-cookie-token",
11 references to NewCookieTokenString
Microsoft.AspNetCore.Antiforgery.Test (11)
DefaultAntiforgeryTest.cs (11)
146
Assert.Equal(context.TestTokenSet.
NewCookieTokenString
, tokenset.CookieToken);
154
Assert.Equal(context.TestTokenSet.
NewCookieTokenString
, antiforgeryFeature.NewCookieTokenString);
183
Assert.Equal(context.TestTokenSet.
NewCookieTokenString
, tokenset.CookieToken);
461
t => t.SaveCookieToken(It.IsAny<HttpContext>(), context.TestTokenSet.
NewCookieTokenString
),
464
Assert.Equal(context.TestTokenSet.
NewCookieTokenString
, tokenSet.CookieToken);
472
Assert.Equal(context.TestTokenSet.
NewCookieTokenString
, antiforgeryFeature.NewCookieTokenString);
495
t => t.SaveCookieToken(It.IsAny<HttpContext>(), context.TestTokenSet.
NewCookieTokenString
),
498
Assert.Equal(context.TestTokenSet.
NewCookieTokenString
, tokenSet.CookieToken);
1111
Assert.Equal(context.TestTokenSet.
NewCookieTokenString
, antiforgeryFeature.NewCookieTokenString);
1452
var newCookieToken = testTokenSet.
NewCookieTokenString
;
1476
.Returns(testTokenSet.
NewCookieTokenString
);