1.OpenID Connect相关接口添加到swagger文档

2.添加jwt认证
This commit is contained in:
ShaoHua
2025-12-30 00:37:56 +08:00
parent 93f2eaf285
commit e0ab9c836c
3 changed files with 252 additions and 0 deletions
@@ -19,6 +19,7 @@
<PackageReference Include="IdentityModel" Version="7.0.0" />
<PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="9.0.0" />
<PackageReference Include="AspNetCore.HealthChecks.UI.InMemory.Storage" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="10.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="10.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="10.0.0" />