1 write to Options
Microsoft.Extensions.Identity.Core (1)
UserClaimsPrincipalFactory.cs (1)
35
Options
= optionsAccessor.Value;
7 references to Options
Microsoft.Extensions.Identity.Core (7)
UserClaimsPrincipalFactory.cs (7)
76
Options
.ClaimsIdentity.UserNameClaimType,
77
Options
.ClaimsIdentity.RoleClaimType);
78
id.AddClaim(new Claim(
Options
.ClaimsIdentity.UserIdClaimType, userId));
79
id.AddClaim(new Claim(
Options
.ClaimsIdentity.UserNameClaimType, userName!));
85
id.AddClaim(new Claim(
Options
.ClaimsIdentity.EmailClaimType, email));
90
id.AddClaim(new Claim(
Options
.ClaimsIdentity.SecurityStampClaimType,
144
id.AddClaim(new Claim(
Options
.ClaimsIdentity.RoleClaimType, roleName));