浏览代码

identitymodel

xf 1 年之前
父节点
当前提交
0504c93865

+ 2 - 1
src/CallCenter.Api/CallCenter.Api.csproj

@@ -1,4 +1,4 @@
-<Project Sdk="Microsoft.NET.Sdk.Web">
+<Project Sdk="Microsoft.NET.Sdk.Web">
 
   <PropertyGroup>
     <TargetFramework>net6.0</TargetFramework>
@@ -10,6 +10,7 @@
 
   <ItemGroup>
     <PackageReference Include="FluentValidation.AspNetCore" Version="11.2.1" />
+    <PackageReference Include="IdentityModel" Version="6.1.0" />
     <PackageReference Include="Mapster.DependencyInjection" Version="1.0.0" />
     <PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="10.0.1" />
     <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.10" />

+ 0 - 1
src/CallCenter.Api/StartupExtensions.cs

@@ -18,7 +18,6 @@ using CallCenter.Caching;
 using FluentValidation;
 using FluentValidation.AspNetCore;
 using CallCenter.Settings;
-using Identity.Admin.HttpClient;
 using Microsoft.AspNetCore.Authentication.JwtBearer;
 using Microsoft.IdentityModel.Tokens;
 using Serilog;

+ 0 - 4
src/CallCenter.Application/CallCenter.Application.csproj

@@ -6,10 +6,6 @@
     <Nullable>enable</Nullable>
   </PropertyGroup>
 
-  <ItemGroup>
-    <PackageReference Include="Identity.Admin.HttpClient" Version="1.0.0" />
-  </ItemGroup>
-
   <ItemGroup>
     <ProjectReference Include="..\CallCenter.Application.Contracts\CallCenter.Application.Contracts.csproj" />
     <ProjectReference Include="..\CallCenter.Caching\CallCenter.Caching.csproj" />