1 write to UserManager
Microsoft.Extensions.Identity.Core (1)
UserClaimsPrincipalFactory.cs (1)
34
UserManager
= userManager;
10 references to UserManager
Microsoft.Extensions.Identity.Core (10)
UserClaimsPrincipalFactory.cs (10)
73
var userId = await
UserManager
.GetUserIdAsync(user).ConfigureAwait(false);
74
var userName = await
UserManager
.GetUserNameAsync(user).ConfigureAwait(false);
80
if (
UserManager
.SupportsUserEmail)
82
var email = await
UserManager
.GetEmailAsync(user).ConfigureAwait(false);
88
if (
UserManager
.SupportsUserSecurityStamp)
91
await
UserManager
.GetSecurityStampAsync(user).ConfigureAwait(false)));
93
if (
UserManager
.SupportsUserClaim)
95
id.AddClaims(await
UserManager
.GetClaimsAsync(user).ConfigureAwait(false));
139
if (
UserManager
.SupportsUserRole)
141
var roles = await
UserManager
.GetRolesAsync(user).ConfigureAwait(false);