18 references to Name
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
773new Claim(ClaimTypes.Name,
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateAuthenticationHandler.cs (1)
285claims.Add(new Claim(ClaimTypes.Name, value, ClaimValueTypes.String, Options.ClaimsIssuer));
Microsoft.AspNetCore.Authentication.Facebook (1)
FacebookOptions.cs (1)
37ClaimActions.MapJsonKey(ClaimTypes.Name, "name");
Microsoft.AspNetCore.Authentication.Google (1)
GoogleOptions.cs (1)
31ClaimActions.MapJsonKey(ClaimTypes.Name, "name");
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
MicrosoftAccountOptions.cs (1)
28ClaimActions.MapJsonKey(ClaimTypes.Name, "displayName");
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
110new Claim(ClaimTypes.Name, accessToken.ScreenName, ClaimValueTypes.String, ClaimsIssuer),
Microsoft.AspNetCore.Identity (4)
SignInManager.cs (4)
755return (result?.Principal != null && result.Principal.FindFirstValue(ClaimTypes.Name) == userId); 1180identity.AddClaim(new Claim(ClaimTypes.Name, userId)); 1192rememberBrowserIdentity.AddClaim(new Claim(ClaimTypes.Name, userId)); 1275var userId = result.Principal.FindFirstValue(ClaimTypes.Name);
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\aspnetcore\src\SignalR\common\testassets\Tests.Utils\TestClient.cs (1)
53var claims = new List<Claim> { new Claim(ClaimTypes.Name, claimValue) };
Microsoft.Extensions.Identity.Core (2)
ClaimsIdentityOptions.cs (2)
19/// Gets or sets the ClaimType used for the user name claim. Defaults to <see cref="ClaimTypes.Name"/>. 21public string UserNameClaimType { get; set; } = ClaimTypes.Name;
System.Security.Claims (1)
System\Security\Claims\ClaimsIdentity.cs (1)
44public const string DefaultNameClaimType = ClaimTypes.Name;
System.Security.Principal.Windows (4)
System\Security\Principal\WindowsIdentity.cs (4)
104: base(null, null, null, ClaimTypes.Name, ClaimTypes.GroupSid) 112: base(null, null, null, ClaimTypes.Name, ClaimTypes.GroupSid) 118: base(null, null, null, ClaimTypes.Name, ClaimTypes.GroupSid) 131: base(null, null, null, ClaimTypes.Name, ClaimTypes.GroupSid)