6 references to FindFirst
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionDispatcher.cs (2)
646
var originalName = connection.User.
FindFirst
(ClaimTypes.NameIdentifier)?.Value;
647
var newName = connection.HttpContext?.User.
FindFirst
(ClaimTypes.NameIdentifier)?.Value;
Microsoft.AspNetCore.Identity (2)
SignInManager.cs (2)
210
var authenticationMethod = auth.Principal?.
FindFirst
(ClaimTypes.AuthenticationMethod);
211
var amr = auth.Principal?.
FindFirst
("amr");
Microsoft.AspNetCore.SignalR.Core (1)
DefaultUserIdProvider.cs (1)
17
return connection.User.
FindFirst
(ClaimTypes.NameIdentifier)?.Value;
Microsoft.Extensions.Identity.Core (1)
PrincipalExtensions.cs (1)
22
var claim = principal.
FindFirst
(claimType);