5 references to CreateUserPrincipalAsync
Microsoft.AspNetCore.Identity (3)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
138
var newPrincipal = await signInManager.
CreateUserPrincipalAsync
(user);
SecurityStampValidator.cs (1)
94
var newPrincipal = await SignInManager.
CreateUserPrincipalAsync
(user);
SignInManager.cs (1)
235
var userPrincipal = await
CreateUserPrincipalAsync
(user);
Microsoft.AspNetCore.Identity.Test (2)
SecurityStampValidatorTest.cs (2)
114
signInManager.Setup(s => s.
CreateUserPrincipalAsync
(user)).ReturnsAsync(principal).Verifiable();
288
signInManager.Setup(s => s.
CreateUserPrincipalAsync
(It.IsAny<PocoUser>())).Returns(Task.FromResult(new ClaimsPrincipal(new ClaimsIdentity("auth"))));