Implemented interface member:
2 overrides of IsAuthenticated
System.Security.Claims (1)
System\Security\Claims\GenericIdentity.cs (1)
74public override bool IsAuthenticated
System.Security.Principal.Windows (1)
System\Security\Principal\WindowsIdentity.cs (1)
453public override bool IsAuthenticated
50 references to IsAuthenticated
Aspire.Dashboard (2)
Authentication\AspirePolicyEvaluator.cs (1)
145newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any()));
Components\Controls\UserProfile.razor.cs (1)
51if (claimsIdentity?.IsAuthenticated == true)
Microsoft.AspNetCore.Antiforgery (6)
Internal\DefaultAntiforgeryTokenGenerator.cs (2)
234if (identitiesList[i].IsAuthenticated) 244if (identity.IsAuthenticated)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (4)
67newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any())); 81=> user?.Identity is not null && user.Identities.Any(static identity => identity.IsAuthenticated); 135if (!identity.IsAuthenticated) 155if (identities[i].IsAuthenticated)
Microsoft.AspNetCore.Authentication (4)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (4)
67newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any())); 81=> user?.Identity is not null && user.Identities.Any(static identity => identity.IsAuthenticated); 135if (!identity.IsAuthenticated) 155if (identities[i].IsAuthenticated)
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticationOptions.cs (1)
95/// A user is considered authenticated if <see cref="ClaimsIdentity.IsAuthenticated"/> returns <see langword="true" /> for the <see cref="ClaimsPrincipal"/> associated with the HTTP request.
Microsoft.AspNetCore.Authorization (4)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (4)
67newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any())); 81=> user?.Identity is not null && user.Identities.Any(static identity => identity.IsAuthenticated); 135if (!identity.IsAuthenticated) 155if (identities[i].IsAuthenticated)
Microsoft.AspNetCore.Authorization.Policy (4)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (4)
67newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any())); 81=> user?.Identity is not null && user.Identities.Any(static identity => identity.IsAuthenticated); 135if (!identity.IsAuthenticated) 155if (identities[i].IsAuthenticated)
Microsoft.AspNetCore.Components.Endpoints (4)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (4)
67newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any())); 81=> user?.Identity is not null && user.Identities.Any(static identity => identity.IsAuthenticated); 135if (!identity.IsAuthenticated) 155if (identities[i].IsAuthenticated)
Microsoft.AspNetCore.Components.Server (4)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (4)
67newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any())); 81=> user?.Identity is not null && user.Identities.Any(static identity => identity.IsAuthenticated); 135if (!identity.IsAuthenticated) 155if (identities[i].IsAuthenticated)
Microsoft.AspNetCore.Http.Connections (7)
Internal\UserIdentitySnapshot.cs (3)
15/// <see cref="ClaimsIdentity"/> subclass may decide <see cref="ClaimsIdentity.IsAuthenticated"/> for itself - 72if (!identity.IsAuthenticated) 123if (!identity.IsAuthenticated)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (4)
67newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any())); 81=> user?.Identity is not null && user.Identities.Any(static identity => identity.IsAuthenticated); 135if (!identity.IsAuthenticated) 155if (identities[i].IsAuthenticated)
Microsoft.AspNetCore.Mvc.Core (4)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (4)
67newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any())); 81=> user?.Identity is not null && user.Identities.Any(static identity => identity.IsAuthenticated); 135if (!identity.IsAuthenticated) 155if (identities[i].IsAuthenticated)
Microsoft.AspNetCore.Mvc.TagHelpers (4)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (4)
67newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any())); 81=> user?.Identity is not null && user.Identities.Any(static identity => identity.IsAuthenticated); 135if (!identity.IsAuthenticated) 155if (identities[i].IsAuthenticated)
Microsoft.AspNetCore.OutputCaching (4)
src\aspnetcore\src\Shared\SecurityHelper\SecurityHelper.cs (4)
67newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any())); 81=> user?.Identity is not null && user.Identities.Any(static identity => identity.IsAuthenticated); 135if (!identity.IsAuthenticated) 155if (identities[i].IsAuthenticated)
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionHandler.cs (1)
316=> user.Identities.Any(static identity => identity.IsAuthenticated);
System.Security.Claims (1)
System\Security\Claims\ClaimsIdentity.cs (1)
1019string debugText = $"IsAuthenticated = {(IsAuthenticated ? "true" : "false")}";