1 write to FormTokenString
Microsoft.AspNetCore.Antiforgery.Test (1)
DefaultAntiforgeryTest.cs (1)
1531
FormTokenString
= "serialized-form-token",
15 references to FormTokenString
Microsoft.AspNetCore.Antiforgery.Test (15)
DefaultAntiforgeryTest.cs (15)
147
Assert.Equal(context.TestTokenSet.
FormTokenString
, tokenset.RequestToken);
156
Assert.Equal(context.TestTokenSet.
FormTokenString
, antiforgeryFeature.NewRequestTokenString);
184
Assert.Equal(context.TestTokenSet.
FormTokenString
, tokenset.RequestToken);
204
Assert.Equal(context.TestTokenSet.
FormTokenString
, tokenset.RequestToken);
212
Assert.Equal(context.TestTokenSet.
FormTokenString
, antiforgeryFeature.NewRequestTokenString);
274
Assert.Equal(context.TestTokenSet.
FormTokenString
, tokenSet.RequestToken);
282
Assert.Equal(context.TestTokenSet.
FormTokenString
, antiforgeryFeature.NewRequestTokenString);
307
Assert.Equal(context.TestTokenSet.
FormTokenString
, tokenSet.RequestToken);
338
Assert.Equal(context.TestTokenSet.
FormTokenString
, tokenSet.RequestToken);
465
Assert.Equal(context.TestTokenSet.
FormTokenString
, tokenSet.RequestToken);
474
Assert.Equal(context.TestTokenSet.
FormTokenString
, antiforgeryFeature.NewRequestTokenString);
499
Assert.Equal(context.TestTokenSet.
FormTokenString
, tokenSet.RequestToken);
1436
var formToken = testTokenSet.
FormTokenString
;
1468
.Returns(testTokenSet.
FormTokenString
);
1469
mockSerializer.Setup(o => o.Deserialize(testTokenSet.
FormTokenString
))