1 implementation of NewCookieToken
Microsoft.AspNetCore.Antiforgery (1)
Internal\AntiforgeryFeature.cs (1)
22
public AntiforgeryToken?
NewCookieToken
{ get; set; }
1 write to NewCookieToken
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgery.cs (1)
317
antiforgeryFeature.
NewCookieToken
= newCookieToken;
6 references to NewCookieToken
Microsoft.AspNetCore.Antiforgery (6)
Internal\DefaultAntiforgery.cs (6)
51
if (antiforgeryFeature.
NewCookieToken
!= null)
216
if (!antiforgeryFeature.HaveStoredNewCookieToken && antiforgeryFeature.
NewCookieToken
!= null)
221
_tokenSerializer.Serialize(antiforgeryFeature.
NewCookieToken
);
348
var cookieToken = antiforgeryFeature.
NewCookieToken
?? antiforgeryFeature.CookieToken;
416
if (antiforgeryFeature.NewCookieTokenString == null && antiforgeryFeature.
NewCookieToken
!= null)
419
_tokenSerializer.Serialize(antiforgeryFeature.
NewCookieToken
);