From d9bed3ac0c02eff2bbac7f8e714af7c67477d2ba Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Thu, 27 Sep 2018 14:20:59 -0400 Subject: [PATCH] Remove IAuthenticationContext.Clone() --- src/Tgstation.Server.Host/Security/AuthenticationContext.cs | 3 --- .../Security/IAuthenticationContext.cs | 6 ------ 2 files changed, 9 deletions(-) diff --git a/src/Tgstation.Server.Host/Security/AuthenticationContext.cs b/src/Tgstation.Server.Host/Security/AuthenticationContext.cs index 1a2c489812..83948ce8b6 100644 --- a/src/Tgstation.Server.Host/Security/AuthenticationContext.cs +++ b/src/Tgstation.Server.Host/Security/AuthenticationContext.cs @@ -55,9 +55,6 @@ namespace Tgstation.Server.Host.Security /// public void Dispose() => SystemIdentity?.Dispose(); - /// - public IAuthenticationContext Clone() => new AuthenticationContext(SystemIdentity.Clone(), User, InstanceUser); - /// public ulong GetRight(RightsType rightsType) { diff --git a/src/Tgstation.Server.Host/Security/IAuthenticationContext.cs b/src/Tgstation.Server.Host/Security/IAuthenticationContext.cs index 23510b2804..6d8b53894d 100644 --- a/src/Tgstation.Server.Host/Security/IAuthenticationContext.cs +++ b/src/Tgstation.Server.Host/Security/IAuthenticationContext.cs @@ -30,11 +30,5 @@ namespace Tgstation.Server.Host.Security /// The of if applicable /// ISystemIdentity SystemIdentity { get; } - - /// - /// Creates a copy of the - /// - /// A new - IAuthenticationContext Clone(); } } \ No newline at end of file