2 overrides of Clone
System.Security.Claims (1)
System\Security\Claims\GenericIdentity.cs (1)
45public override ClaimsIdentity Clone()
System.Security.Principal.Windows (1)
System\Security\Principal\WindowsIdentity.cs (1)
973public override ClaimsIdentity Clone()
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)
139newPrincipal.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)
1078newContext.User.AddIdentity(identity.Clone());
System.Security.Claims (2)
System\Security\Claims\ClaimsIdentity.cs (1)
740_actor = other._actor.Clone();
System\Security\Claims\GenericPrincipal.cs (1)
39claimsIdentity = claimsIdentity.Clone();