250501 커밋

This commit is contained in:
2025-05-01 07:23:28 +09:00
parent 98bb2e3c5c
commit 23176551b7
353 changed files with 9972 additions and 6652 deletions

View File

@@ -1,7 +1,6 @@
namespace BrokerApiServer.Common;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc;
namespace BrokerApiServer;
public class ApiControllerBase: ControllerBase
{
protected string PlanetId => HttpContext.Items["planet_id"]?.ToString() ?? string.Empty;

View File

@@ -1,6 +1,6 @@
using CommandLine;
namespace BrokerApiServer.Common;
namespace BrokerApiServer;
public class CommandLineOption
{
@@ -9,7 +9,4 @@ public class CommandLineOption
[Option('s', "swagger", Default = false, Required = false, HelpText = "Show Swagger Mode")]
public bool UseSwagger { get; init; } = false;
[Option('n', "named-pipe", Default = false, Required = false, HelpText = "User Named Pipe")]
public bool UseNamedPipe { get; init; } = false;
}

View File

@@ -1,4 +1,4 @@
namespace BrokerApiServer.Common;
namespace BrokerApiServer;
public static class Const
{

View File

@@ -1,4 +1,4 @@
namespace BrokerApiServer.Common;
namespace BrokerApiServer;
using Microsoft.AspNetCore.Mvc;

View File

@@ -1,18 +1,17 @@
using Microsoft.AspNetCore.Mvc.Filters;
namespace BrokerCore.Common;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using BrokerApiServer.Common;
using Microsoft.IdentityModel.Tokens;
using ServerCore; using ServerBase;
using ServerCore;
using Services;
namespace BrokerApiServer;
using BrokerApiCore;
/// <summary>
/// 엑세스 토큰 인증이 필요한 컨트롤러를 지정하는 애노테이션(Attribute) 정의

View File

@@ -1,10 +1,7 @@
using Microsoft.AspNetCore.Mvc.Filters;
using BrokerApiCore;
namespace BrokerCore.Common;
using BrokerApiServer.Common;
using Services;
namespace BrokerApiServer;
/// <summary>
/// 엑세스 토큰 인증이 필요한 컨트롤러를 지정하는 애노테이션(Attribute) 정의

View File

@@ -1,8 +1,8 @@
namespace BrokerCore.Common;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.Filters;
using BrokerApiCore;
using Services;
namespace BrokerApiServer;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class RequireUserJwtAuthAttribute : System.Attribute, IAsyncActionFilter

View File

@@ -1,15 +1,10 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using BrokerApiServer.Common;
using ServerCore;
using BrokerApiCore;
using BrokerCore.ApiModels;
using BrokerCore.Common;
namespace CaliGameApi.Middlewares;
using ServerCore;
using ServerBase;
namespace BrokerApiServer;
public class ResultExceptionFilter : IExceptionFilter
{

View File

@@ -1,6 +1,6 @@
namespace BrokerApiServer.Common;
namespace BrokerApiServer;
using ServerCore; using ServerBase;
using ServerCore;
public class ResultLoggingMiddleware : IMiddleware
{

View File

@@ -2,7 +2,7 @@
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace BrokerApiServer.Common;
namespace BrokerApiServer;
using Microsoft.OpenApi.Any;