diff --git a/src/Tgstation.Server.Host/Controllers/HomeController.cs b/src/Tgstation.Server.Host/Controllers/HomeController.cs index 9ce8efffae..c74858cf07 100644 --- a/src/Tgstation.Server.Host/Controllers/HomeController.cs +++ b/src/Tgstation.Server.Host/Controllers/HomeController.cs @@ -48,7 +48,7 @@ namespace Tgstation.Server.Host.Controllers /// The value of /// The value of /// The value of - /// The value of + /// The value of public HomeController(IDatabaseContext databaseContext, IAuthenticationContextFactory authenticationContextFactory, ITokenFactory tokenFactory, ISystemIdentityFactory systemIdentityFactory, ICryptographySuite cryptographySuite, IApplication application, IIdentityCache identityCache) : base(databaseContext, authenticationContextFactory, false) { this.tokenFactory = tokenFactory ?? throw new ArgumentNullException(nameof(tokenFactory)); diff --git a/src/Tgstation.Server.Host/Controllers/InstanceController.cs b/src/Tgstation.Server.Host/Controllers/InstanceController.cs index 3b72511687..37ba9f674f 100644 --- a/src/Tgstation.Server.Host/Controllers/InstanceController.cs +++ b/src/Tgstation.Server.Host/Controllers/InstanceController.cs @@ -107,6 +107,7 @@ namespace Tgstation.Server.Host.Controllers return Json(newInstance.ToApi()); } + /// [TgsAuthorize(InstanceManagerRights.Delete)] public override async Task Delete(long id, CancellationToken cancellationToken) { @@ -197,6 +198,7 @@ namespace Tgstation.Server.Host.Controllers return Json(originalModel.ToApi()); } + /// [TgsAuthorize] public override async Task List(CancellationToken cancellationToken) { diff --git a/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs b/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs index 819e6471f3..57b9349a4c 100644 --- a/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs +++ b/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs @@ -25,13 +25,17 @@ namespace Tgstation.Server.Host.Security /// readonly IDatabaseContext databaseContext; + /// + /// The for the + /// readonly IIdentityCache identityCache; /// /// Construct an /// /// The value of - /// The value of + /// The value of + /// The value of public AuthenticationContextFactory(ISystemIdentityFactory systemIdentityFactory, IDatabaseContext databaseContext, IIdentityCache identityCache) { this.systemIdentityFactory = systemIdentityFactory ?? throw new ArgumentNullException(nameof(systemIdentityFactory)); diff --git a/src/Tgstation.Server.Host/Security/IIdentityCache.cs b/src/Tgstation.Server.Host/Security/IIdentityCache.cs index 902424f6d3..7d6b2def11 100644 --- a/src/Tgstation.Server.Host/Security/IIdentityCache.cs +++ b/src/Tgstation.Server.Host/Security/IIdentityCache.cs @@ -3,6 +3,9 @@ using Tgstation.Server.Host.Models; namespace Tgstation.Server.Host.Security { + /// + /// For caching s + /// public interface IIdentityCache { ///