2 overrides of Clone
System.Security.Claims (1)
System\Security\Claims\GenericIdentity.cs (1)
45public override ClaimsIdentity Clone()
System.Security.Principal.Windows (1)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (1)
261public override System.Security.Claims.ClaimsIdentity Clone() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); }
7 references to Clone
Microsoft.AspNetCore.Authentication.Abstractions (2)
AuthenticationTicket.cs (2)
56/// The method clones the <see cref="Principal"/> by calling <see cref="ClaimsIdentity.Clone"/> on each of the <see cref="ClaimsPrincipal.Identities"/>. 64principal.AddIdentity(identity.Clone());
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationHandler.cs (1)
138newPrincipal.AddIdentity(identity.Clone());
Microsoft.AspNetCore.Authentication.Negotiate (1)
Internal\NegotiateState.cs (1)
63return remoteIdentity is ClaimsIdentity claimsIdentity ? claimsIdentity.Clone() : remoteIdentity;
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
700newContext.User.AddIdentity(identity.Clone());
System.Security.Claims (2)
System\Security\Claims\ClaimsIdentity.cs (1)
219_actor = other._actor.Clone();
System\Security\Claims\GenericPrincipal.cs (1)
39claimsIdentity = claimsIdentity.Clone();