mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 16:11:05 +01:00
Remove IAuthenticationContext.Clone()
This commit is contained in:
@@ -55,9 +55,6 @@ namespace Tgstation.Server.Host.Security
|
||||
/// <inheritdoc />
|
||||
public void Dispose() => SystemIdentity?.Dispose();
|
||||
|
||||
/// <inheritdoc />
|
||||
public IAuthenticationContext Clone() => new AuthenticationContext(SystemIdentity.Clone(), User, InstanceUser);
|
||||
|
||||
/// <inheritdoc />
|
||||
public ulong GetRight(RightsType rightsType)
|
||||
{
|
||||
|
||||
@@ -30,11 +30,5 @@ namespace Tgstation.Server.Host.Security
|
||||
/// The <see cref="ISystemIdentity"/> of <see cref="User"/> if applicable
|
||||
/// </summary>
|
||||
ISystemIdentity SystemIdentity { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Creates a copy of the <see cref="IAuthenticationContext"/>
|
||||
/// </summary>
|
||||
/// <returns>A new <see cref="IAuthenticationContext"/></returns>
|
||||
IAuthenticationContext Clone();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user