3 references to ReplacePrincipal
Microsoft.AspNetCore.Authentication.Test (2)
CookieTests.cs (2)
652
ctx.
ReplacePrincipal
(new ClaimsPrincipal(new ClaimsIdentity(new GenericIdentity("Alice2", "Cookies2"))));
683
ctx.
ReplacePrincipal
(new ClaimsPrincipal(new ClaimsIdentity(new GenericIdentity("Alice2", "Cookies2"))));
Microsoft.AspNetCore.Identity (1)
SecurityStampValidator.cs (1)
110
context.
ReplacePrincipal
(newPrincipal);