feat(auth): QuantEngine 관리자 로그인 페이지 및 세션 인증 체계 구현 (WBS-AUTH)

This commit is contained in:
2026-07-01 11:12:20 +09:00
parent 24c1cce542
commit bdb9262f4e
10 changed files with 430 additions and 8 deletions
+6
View File
@@ -1,6 +1,7 @@
using QuantEngine.Web.Components;
using QuantEngine.Web.Services;
using QuantEngine.Infrastructure.Data;
using Microsoft.AspNetCore.Components.Authorization;
using QuantEngine.Infrastructure.Repositories;
using QuantEngine.Infrastructure.Services;
using QuantEngine.Core.Interfaces;
@@ -26,6 +27,11 @@ builder.Host.UseSerilog();
builder.Services.AddRazorComponents()
.AddInteractiveServerComponents();
// Authentication and Custom State Provider
builder.Services.AddCascadingAuthenticationState();
builder.Services.AddScoped<AuthenticationStateProvider, CustomAuthenticationStateProvider>();
builder.Services.AddAuthorizationCore();
// Fluent UI Services
builder.Services.AddFluentUIComponents();