4 references to UserIdClaimType
Microsoft.AspNetCore.Identity.Test (2)
IdentityOptionsTest.cs (1)
33
Assert.Equal(ClaimTypes.NameIdentifier, options.ClaimsIdentity.
UserIdClaimType
);
UserClaimsPrincipalFactoryTest.cs (1)
98
Assert.Contains(claims, c => c.Type == manager.Options.ClaimsIdentity.
UserIdClaimType
&& c.Value == user.Id);
Microsoft.Extensions.Identity.Core (2)
UserClaimsPrincipalFactory.cs (1)
78
id.AddClaim(new Claim(Options.ClaimsIdentity.
UserIdClaimType
, userId));
UserManager.cs (1)
422
return principal.FindFirstValue(Options.ClaimsIdentity.
UserIdClaimType
);