4 references to HasClaim
Identity.ExternalClaims (1)
Pages\Account\ExternalLogin.cshtml.cs (1)
98if (info.Principal.HasClaim(c => c.Type == ClaimTypes.Email))
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
159if (info.Principal!.HasClaim(c => c.Type == ClaimTypes.Email))
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
159if (info.Principal.HasClaim(c => c.Type == ClaimTypes.Email))
Microsoft.AspNetCore.SignalR.Tests (1)
TestAuthHandler.cs (1)
19var hasClaim = context.User.HasClaim(o => o.Type == ClaimTypes.NameIdentifier && !string.IsNullOrEmpty(o.Value));