Commit 2b34dd90 authored by Eric Dieckman's avatar Eric Dieckman
Browse files

Move web to api

parent e65802ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Infrastructure", "src\infra
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Models", "src\models\Models.csproj", "{E7CE601E-E44E-4D13-8084-715B6C6540C0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Web", "src\web\Web.csproj", "{3FBA50F6-2B43-4BB3-AB37-D33BA82A8ADA}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Api", "src\api\Api.csproj", "{3FBA50F6-2B43-4BB3-AB37-D33BA82A8ADA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Migrations", "src\migrations\Migrations.csproj", "{0923BCFF-F3EC-4EB9-B8F7-38DCC0FE66F0}"
EndProject
+4 −4
Original line number Diff line number Diff line
@@ -12,14 +12,14 @@
    <TargetFramework>net8.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
    <AssemblyName>Cals.Visor.Web</AssemblyName>
    <RootNamespace>Cals.Visor.Web</RootNamespace>
    <AssemblyName>Cals.Visor.Api</AssemblyName>
    <RootNamespace>Cals.Visor.Api</RootNamespace>
    <ImplicitUsings>enable</ImplicitUsings>
    <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <DocumentationFile>Cals.Visor.Web.xml</DocumentationFile>
    <DocumentationFile>Cals.Visor.Api.xml</DocumentationFile>
    <NoWarn>1701;1702; 1591</NoWarn>
  </PropertyGroup>

@@ -50,6 +50,7 @@
    <PackageReference Include="Azure.Extensions.AspNetCore.Configuration.Secrets" Version="1.4.0" />
    <PackageReference Include="Hellang.Middleware.ProblemDetails" Version="6.5.1" />
    <PackageReference Include="MailKit" Version="4.14.1" />
    <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.21" />
    <PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.21" />
    <PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="8.0.21" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.11">
@@ -60,7 +61,6 @@
    <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.7" />
    <PackageReference Include="Quartz.Extensions.Hosting" Version="3.14.0" />
    <PackageReference Include="Swashbuckle.AspNetCore" Version="9.0.6" />
    <PackageReference Include="UW.AspNetCore.Authentication.Shibboleth" Version="9.0.0" />
  </ItemGroup>

  <ItemGroup>
+1 −1
Original line number Diff line number Diff line
namespace Cals.Visor.Web.Authorization;
namespace Cals.Visor.Api.Authorization;

/// <summary>
/// Config object holding values for app groups from appsettings.
+1 −1
Original line number Diff line number Diff line
using UW.Shibboleth;

namespace Cals.Visor.Web.Authorization;
namespace Cals.Visor.Api.Authorization;

public class AuthenticationExtensions
{
+1 −1
Original line number Diff line number Diff line
using Microsoft.AspNetCore.Authorization;

namespace Cals.Visor.Web.Authorization;
namespace Cals.Visor.Api.Authorization;

public static class AuthorizationExtensions
{
Loading