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