Removing comments, some cleanup, and moving the startup code into Program.cs
This commit is contained in:
kdeng00
2024-06-13 20:35:53 -04:00
parent 64c366472e
commit 48f9914a1f
9 changed files with 115 additions and 376 deletions
-13
View File
@@ -4,8 +4,6 @@ using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Icarus.Controllers.Managers;
namespace Icarus.Controllers.V1;
@@ -39,16 +37,5 @@ public class BaseController : ControllerBase
return token;
}
/**
[ApiExplorerSettings(IgnoreApi = true)]
[Obsolete("Asymmetric key signing for tokens have been deprecated")]
protected bool IsTokenValid(string scope)
{
var token = ParseBearerTokenFromHeader();
var tokMgr = new TokenManager(_config);
return tokMgr.IsTokenValid(scope, token);
}
*/
#endregion
}