Move TgsAuthorizeAttribute from Controllers namespace to Security

This commit is contained in:
Jordan Dominion
2023-10-23 02:03:36 -04:00
parent 4c439cb2dc
commit af2570ef79
3 changed files with 3 additions and 2 deletions
@@ -6,7 +6,7 @@ using Microsoft.AspNetCore.Authentication.JwtBearer;
namespace Tgstation.Server.Host.Security
{
/// <summary>
/// For injecting <see cref="global::System.Security.Claims.Claim"/>s that <see cref="Controllers.TgsAuthorizeAttribute"/> can look for.
/// For injecting <see cref="global::System.Security.Claims.Claim"/>s that <see cref="Security.TgsAuthorizeAttribute"/> can look for.
/// </summary>
interface IClaimsInjector
{
@@ -4,7 +4,7 @@ using Microsoft.AspNetCore.Authorization;
using Tgstation.Server.Api.Rights;
namespace Tgstation.Server.Host.Controllers
namespace Tgstation.Server.Host.Security
{
/// <summary>
/// Helper for using the <see cref="AuthorizeAttribute"/> with the <see cref="Api.Rights"/> system.
@@ -18,6 +18,7 @@ using Tgstation.Server.Api.Models;
using Tgstation.Server.Api.Models.Response;
using Tgstation.Server.Common.Extensions;
using Tgstation.Server.Host.Controllers;
using Tgstation.Server.Host.Security;
namespace Tgstation.Server.Host.Utils
{