Exemplo n.º 1
0
 new Claim(ClaimTypes.NameIdentifier, User is null ? "" : User.Id.ToString()),
Exemplo n.º 2
0
 new Claim(ClaimTypes.NameIdentifier, userFromRepo.Id.ToString())
Exemplo n.º 3
0
 claims[^ 1] = new Claim(ClaimTypes.NameIdentifier, id);
Exemplo n.º 4
0
 new Claim(ClaimTypes.NameIdentifier, user.UserName !),
Exemplo n.º 5
0
 principal.AddIdentity(new ClaimsIdentity(new Claim[] { new Claim(ClaimTypes.NameIdentifier, authenticateResult.UserId) }));
Exemplo n.º 6
0
 new Claim(ClaimTypes.NameIdentifier, user.Name?.ToString() !)