250501 커밋
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace BrokerApiServer.Common;
|
||||
namespace BrokerApiServer;
|
||||
|
||||
public static class Const
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace BrokerApiServer.Common;
|
||||
namespace BrokerApiServer;
|
||||
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
@@ -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) 정의
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
using Microsoft.AspNetCore.Mvc.Filters;
|
||||
using BrokerApiCore;
|
||||
|
||||
namespace BrokerCore.Common;
|
||||
|
||||
using BrokerApiServer.Common;
|
||||
|
||||
using Services;
|
||||
namespace BrokerApiServer;
|
||||
|
||||
/// <summary>
|
||||
/// 엑세스 토큰 인증이 필요한 컨트롤러를 지정하는 애노테이션(Attribute) 정의
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace BrokerApiServer.Common;
|
||||
namespace BrokerApiServer;
|
||||
|
||||
using ServerCore; using ServerBase;
|
||||
using ServerCore;
|
||||
|
||||
public class ResultLoggingMiddleware : IMiddleware
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using Microsoft.OpenApi.Models;
|
||||
using Swashbuckle.AspNetCore.SwaggerGen;
|
||||
|
||||
namespace BrokerApiServer.Common;
|
||||
namespace BrokerApiServer;
|
||||
|
||||
using Microsoft.OpenApi.Any;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user