Browse Source
Use `Duende.IdentityModel` to replace `IdentityModel`.
pull/23521/head
maliming
6 months ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
39 changed files with
40 additions and
40 deletions
-
Directory.Packages.props
-
framework/src/Volo.Abp.AspNetCore.Authentication.JwtBearer/Volo.Abp.AspNetCore.Authentication.JwtBearer.csproj
-
framework/src/Volo.Abp.AspNetCore.Authentication.JwtBearer/Volo/Abp/AspNetCore/Authentication/JwtBearer/DynamicClaims/WebRemoteDynamicClaimsPrincipalContributorCache.cs
-
framework/src/Volo.Abp.AspNetCore.Components.Server/Microsoft/AspNetCore/Authentication/Cookies/CookieAuthenticationOptionsExtensions.cs
-
framework/src/Volo.Abp.AspNetCore.Components.Server/Volo.Abp.AspNetCore.Components.Server.csproj
-
framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo.Abp.AspNetCore.Components.WebAssembly.csproj
-
framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/WebAssemblyAuthenticationStateProvider.cs
-
framework/src/Volo.Abp.AspNetCore/Microsoft/Extensions/DependencyInjection/CookieAuthenticationOptionsExtensions.cs
-
framework/src/Volo.Abp.AspNetCore/Volo.Abp.AspNetCore.csproj
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Auth/AuthService.cs
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Http/CliHttpClientExtensions.cs
-
framework/src/Volo.Abp.Dapr/Volo.Abp.Dapr.csproj
-
framework/src/Volo.Abp.Dapr/Volo/Abp/Dapr/AbpDaprClientFactory.cs
-
framework/src/Volo.Abp.Http.Client.IdentityModel.MauiBlazor/Volo/Abp/Http/Client/IdentityModel/MauiBlazor/AbpHttpClientIdentityModelMauiBlazorModule.cs
-
framework/src/Volo.Abp.Http.Client.IdentityModel.MauiBlazor/Volo/Abp/Http/Client/IdentityModel/MauiBlazor/MauiIBlazorIdentityModelRemoteServiceHttpClientAuthenticator.cs
-
framework/src/Volo.Abp.Http.Client.IdentityModel.Web/Volo/Abp/Http/Client/IdentityModel/Web/HttpContextIdentityModelRemoteServiceHttpClientAuthenticator.cs
-
framework/src/Volo.Abp.Http.Client.IdentityModel.WebAssembly/Volo/Abp/Http/Client/IdentityModel/WebAssembly/AbpHttpClientIdentityModelWebAssemblyModule.cs
-
framework/src/Volo.Abp.Http.Client.IdentityModel.WebAssembly/Volo/Abp/Http/Client/IdentityModel/WebAssembly/AccessTokenProviderIdentityModelRemoteServiceHttpClientAuthenticator.cs
-
framework/src/Volo.Abp.IdentityModel/Volo.Abp.IdentityModel.csproj
-
framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityClientConfiguration.cs
-
framework/src/Volo.Abp.IdentityModel/Volo/Abp/IdentityModel/IdentityModelAuthenticationService.cs
-
modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/IdentityServerSupportedLoginModel.cs
-
modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/CmsKitHttpApiHostModule.cs
-
modules/cms-kit/host/Volo.CmsKit.HttpApi.Host/Volo.CmsKit.HttpApi.Host.csproj
-
modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AbpClaimsService.cs
-
modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AbpIdentityServerBuilderExtensions.cs
-
modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpResourceOwnerPasswordValidator.cs
-
modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpUserClaimsFactory.cs
-
modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/Devices/DeviceFlowStore.cs
-
modules/identityserver/test/Volo.Abp.IdentityServer.Domain.Tests/Volo/Abp/IdentityServer/Devices/DeviceFlowStore_Tests.cs
-
modules/openiddict/app/OpenIddict.Demo.Client.BlazorWASM/OpenIddict.Demo.Client.BlazorWASM.csproj
-
modules/openiddict/app/OpenIddict.Demo.Client.BlazorWASM/Program.cs
-
modules/openiddict/app/OpenIddict.Demo.Client.Console/OpenIddict.Demo.Client.Console.csproj
-
modules/openiddict/app/OpenIddict.Demo.Client.Console/Program.cs
-
modules/openiddict/app/OpenIddict.Demo.Client.Mvc/OpenIddict.Demo.Client.Mvc.csproj
-
modules/openiddict/app/OpenIddict.Demo.Client.Mvc/Program.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/MyCompanyName.MyProjectName.HttpApi.Host.csproj
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/MyProjectNameHttpApiHostModule.cs
-
templates/module/aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs
|
|
@ -46,7 +46,7 @@ |
|
|
<PackageVersion Include="Hangfire.AspNetCore" Version="1.8.18" /> |
|
|
<PackageVersion Include="Hangfire.AspNetCore" Version="1.8.18" /> |
|
|
<PackageVersion Include="Hangfire.SqlServer" Version="1.8.18" /> |
|
|
<PackageVersion Include="Hangfire.SqlServer" Version="1.8.18" /> |
|
|
<PackageVersion Include="HtmlSanitizer" Version="9.0.884" /> |
|
|
<PackageVersion Include="HtmlSanitizer" Version="9.0.884" /> |
|
|
<PackageVersion Include="IdentityModel" Version="7.0.0" /> |
|
|
<PackageVersion Include="Duende.IdentityModel" Version="7.1.0" /> |
|
|
<PackageVersion Include="IdentityServer4" Version="4.1.2" /> |
|
|
<PackageVersion Include="IdentityServer4" Version="4.1.2" /> |
|
|
<PackageVersion Include="IdentityServer4.AspNetIdentity" Version="4.1.2" /> |
|
|
<PackageVersion Include="IdentityServer4.AspNetIdentity" Version="4.1.2" /> |
|
|
<PackageVersion Include="JetBrains.Annotations" Version="2024.3.0" /> |
|
|
<PackageVersion Include="JetBrains.Annotations" Version="2024.3.0" /> |
|
|
|
|
|
@ -27,7 +27,7 @@ |
|
|
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" /> |
|
|
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" /> |
|
|
<PackageReference Include="Microsoft.IdentityModel.Tokens" /> |
|
|
<PackageReference Include="Microsoft.IdentityModel.Tokens" /> |
|
|
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" /> |
|
|
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" /> |
|
|
<PackageReference Include="IdentityModel" /> |
|
|
<PackageReference Include="Duende.IdentityModel" /> |
|
|
</ItemGroup> |
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
</Project> |
|
|
</Project> |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Net.Http; |
|
|
using System.Net.Http; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using Microsoft.AspNetCore.Authentication; |
|
|
using Microsoft.AspNetCore.Authentication; |
|
|
using Microsoft.AspNetCore.Http; |
|
|
using Microsoft.AspNetCore.Http; |
|
|
using Microsoft.Extensions.Logging; |
|
|
using Microsoft.Extensions.Logging; |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using Microsoft.AspNetCore.Authentication.OpenIdConnect; |
|
|
using Microsoft.AspNetCore.Authentication.OpenIdConnect; |
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
using Microsoft.Extensions.Logging; |
|
|
using Microsoft.Extensions.Logging; |
|
|
|
|
|
@ -20,7 +20,7 @@ |
|
|
<ProjectReference Include="..\Volo.Abp.Http.Client\Volo.Abp.Http.Client.csproj" /> |
|
|
<ProjectReference Include="..\Volo.Abp.Http.Client\Volo.Abp.Http.Client.csproj" /> |
|
|
<ProjectReference Include="..\Volo.Abp.AspNetCore.SignalR\Volo.Abp.AspNetCore.SignalR.csproj" /> |
|
|
<ProjectReference Include="..\Volo.Abp.AspNetCore.SignalR\Volo.Abp.AspNetCore.SignalR.csproj" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" /> |
|
|
<PackageReference Include="IdentityModel" /> |
|
|
<PackageReference Include="Duende.IdentityModel" /> |
|
|
</ItemGroup> |
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
</Project> |
|
|
</Project> |
|
|
|
|
|
@ -28,7 +28,7 @@ |
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" /> |
|
|
<PackageReference Include="System.IdentityModel.Tokens.Jwt" /> |
|
|
<PackageReference Include="System.IdentityModel.Tokens.Jwt" /> |
|
|
<PackageReference Include="IdentityModel" /> |
|
|
<PackageReference Include="Duende.IdentityModel" /> |
|
|
</ItemGroup> |
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
</Project> |
|
|
</Project> |
|
|
|
|
|
@ -6,7 +6,7 @@ using System.Net.Http; |
|
|
using System.Security.Claims; |
|
|
using System.Security.Claims; |
|
|
using System.Text.Json.Serialization; |
|
|
using System.Text.Json.Serialization; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using Microsoft.AspNetCore.Components; |
|
|
using Microsoft.AspNetCore.Components; |
|
|
using Microsoft.AspNetCore.Components.Authorization; |
|
|
using Microsoft.AspNetCore.Components.Authorization; |
|
|
using Microsoft.AspNetCore.Components.WebAssembly.Authentication; |
|
|
using Microsoft.AspNetCore.Components.WebAssembly.Authentication; |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Globalization; |
|
|
using System.Globalization; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using Microsoft.AspNetCore.Authentication; |
|
|
using Microsoft.AspNetCore.Authentication; |
|
|
using Microsoft.AspNetCore.Authentication.Cookies; |
|
|
using Microsoft.AspNetCore.Authentication.Cookies; |
|
|
using Microsoft.AspNetCore.Authentication.OpenIdConnect; |
|
|
using Microsoft.AspNetCore.Authentication.OpenIdConnect; |
|
|
|
|
|
@ -30,7 +30,7 @@ |
|
|
<ProjectReference Include="..\Volo.Abp.Validation\Volo.Abp.Validation.csproj" /> |
|
|
<ProjectReference Include="..\Volo.Abp.Validation\Volo.Abp.Validation.csproj" /> |
|
|
<ProjectReference Include="..\Volo.Abp.VirtualFileSystem\Volo.Abp.VirtualFileSystem.csproj" /> |
|
|
<ProjectReference Include="..\Volo.Abp.VirtualFileSystem\Volo.Abp.VirtualFileSystem.csproj" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" /> |
|
|
<PackageReference Include="IdentityModel" /> |
|
|
<PackageReference Include="Duende.IdentityModel" /> |
|
|
<PackageReference Include="MyCSharp.HttpUserAgentParser" /> |
|
|
<PackageReference Include="MyCSharp.HttpUserAgentParser" /> |
|
|
</ItemGroup> |
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
|
|
@ -3,7 +3,7 @@ using System.IO; |
|
|
using System.Net.Http; |
|
|
using System.Net.Http; |
|
|
using System.Text; |
|
|
using System.Text; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using Microsoft.Extensions.Logging; |
|
|
using Microsoft.Extensions.Logging; |
|
|
using Volo.Abp.Cli.Http; |
|
|
using Volo.Abp.Cli.Http; |
|
|
using Volo.Abp.Cli.ProjectBuilding; |
|
|
using Volo.Abp.Cli.ProjectBuilding; |
|
|
|
|
|
@ -5,7 +5,7 @@ using System.Net.Http; |
|
|
using System.Text; |
|
|
using System.Text; |
|
|
using System.Threading; |
|
|
using System.Threading; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using Polly; |
|
|
using Polly; |
|
|
using Polly.Extensions.Http; |
|
|
using Polly.Extensions.Http; |
|
|
using Volo.Abp.Cli.Auth; |
|
|
using Volo.Abp.Cli.Auth; |
|
|
|
|
|
@ -18,7 +18,7 @@ |
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
<ItemGroup> |
|
|
<PackageReference Include="Dapr.Client" /> |
|
|
<PackageReference Include="Dapr.Client" /> |
|
|
<PackageReference Include="IdentityModel" /> |
|
|
<PackageReference Include="Duende.IdentityModel" /> |
|
|
</ItemGroup> |
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
</Project> |
|
|
</Project> |
|
|
|
|
|
@ -5,7 +5,7 @@ using System.Net.Http.Headers; |
|
|
using System.Text.Json; |
|
|
using System.Text.Json; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using Dapr.Client; |
|
|
using Dapr.Client; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using Microsoft.Extensions.Options; |
|
|
using Microsoft.Extensions.Options; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
using Volo.Abp.Http.Client; |
|
|
using Volo.Abp.Http.Client; |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using Volo.Abp.AspNetCore.Components.MauiBlazor; |
|
|
using Volo.Abp.AspNetCore.Components.MauiBlazor; |
|
|
using Volo.Abp.Modularity; |
|
|
using Volo.Abp.Modularity; |
|
|
using Volo.Abp.Security.Claims; |
|
|
using Volo.Abp.Security.Claims; |
|
|
|
|
|
@ -1,5 +1,5 @@ |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
using Volo.Abp.Http.Client.Authentication; |
|
|
using Volo.Abp.Http.Client.Authentication; |
|
|
using Volo.Abp.IdentityModel; |
|
|
using Volo.Abp.IdentityModel; |
|
|
|
|
|
@ -1,5 +1,5 @@ |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
using Volo.Abp.Http.Client.Authentication; |
|
|
using Volo.Abp.Http.Client.Authentication; |
|
|
using Volo.Abp.IdentityModel; |
|
|
using Volo.Abp.IdentityModel; |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly; |
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly; |
|
|
using Volo.Abp.Modularity; |
|
|
using Volo.Abp.Modularity; |
|
|
using Volo.Abp.Security.Claims; |
|
|
using Volo.Abp.Security.Claims; |
|
|
|
|
|
@ -1,5 +1,5 @@ |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
using Volo.Abp.Http.Client.Authentication; |
|
|
using Volo.Abp.Http.Client.Authentication; |
|
|
using Volo.Abp.IdentityModel; |
|
|
using Volo.Abp.IdentityModel; |
|
|
|
|
|
@ -17,7 +17,7 @@ |
|
|
</PropertyGroup> |
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
<ItemGroup> |
|
|
<PackageReference Include="IdentityModel" /> |
|
|
<PackageReference Include="Duende.IdentityModel" /> |
|
|
<PackageReference Include="Microsoft.Extensions.Http" /> |
|
|
<PackageReference Include="Microsoft.Extensions.Http" /> |
|
|
<ProjectReference Include="..\Volo.Abp.Caching\Volo.Abp.Caching.csproj" /> |
|
|
<ProjectReference Include="..\Volo.Abp.Caching\Volo.Abp.Caching.csproj" /> |
|
|
<ProjectReference Include="..\Volo.Abp.MultiTenancy\Volo.Abp.MultiTenancy.csproj" /> |
|
|
<ProjectReference Include="..\Volo.Abp.MultiTenancy\Volo.Abp.MultiTenancy.csproj" /> |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using System.Globalization; |
|
|
using System.Globalization; |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
|
|
|
|
|
|
namespace Volo.Abp.IdentityModel; |
|
|
namespace Volo.Abp.IdentityModel; |
|
|
|
|
|
|
|
|
|
|
|
@ -1,5 +1,5 @@ |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using JetBrains.Annotations; |
|
|
using JetBrains.Annotations; |
|
|
using Microsoft.Extensions.Logging; |
|
|
using Microsoft.Extensions.Logging; |
|
|
using Microsoft.Extensions.Logging.Abstractions; |
|
|
using Microsoft.Extensions.Logging.Abstractions; |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using IdentityServer4.Events; |
|
|
using IdentityServer4.Events; |
|
|
using IdentityServer4.Models; |
|
|
using IdentityServer4.Models; |
|
|
using IdentityServer4.Services; |
|
|
using IdentityServer4.Services; |
|
|
|
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic; |
|
|
using System.IO; |
|
|
using System.IO; |
|
|
using System.Linq; |
|
|
using System.Linq; |
|
|
using System.Security.Claims; |
|
|
using System.Security.Claims; |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
using Microsoft.AspNetCore.Builder; |
|
|
using Microsoft.AspNetCore.Builder; |
|
|
using Microsoft.AspNetCore.Cors; |
|
|
using Microsoft.AspNetCore.Cors; |
|
|
|
|
|
@ -11,7 +11,7 @@ |
|
|
<PackageReference Include="Serilog.AspNetCore" /> |
|
|
<PackageReference Include="Serilog.AspNetCore" /> |
|
|
<PackageReference Include="Serilog.Sinks.File" /> |
|
|
<PackageReference Include="Serilog.Sinks.File" /> |
|
|
<PackageReference Include="Swashbuckle.AspNetCore" /> |
|
|
<PackageReference Include="Swashbuckle.AspNetCore" /> |
|
|
<PackageReference Include="IdentityModel" /> |
|
|
<PackageReference Include="Duende.IdentityModel" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" /> |
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" /> |
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" /> |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using System.Linq; |
|
|
using System.Linq; |
|
|
using System.Security.Claims; |
|
|
using System.Security.Claims; |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using IdentityServer4.Services; |
|
|
using IdentityServer4.Services; |
|
|
using Microsoft.Extensions.Logging; |
|
|
using Microsoft.Extensions.Logging; |
|
|
using Microsoft.Extensions.Options; |
|
|
using Microsoft.Extensions.Options; |
|
|
|
|
|
@ -3,7 +3,7 @@ using System.IdentityModel.Tokens.Jwt; |
|
|
using System.IO; |
|
|
using System.IO; |
|
|
using System.Linq; |
|
|
using System.Linq; |
|
|
using System.Security.Cryptography; |
|
|
using System.Security.Cryptography; |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using IdentityServer4; |
|
|
using IdentityServer4; |
|
|
using IdentityServer4.Configuration; |
|
|
using IdentityServer4.Configuration; |
|
|
using IdentityServer4.Services; |
|
|
using IdentityServer4.Services; |
|
|
|
|
|
@ -4,7 +4,7 @@ using System.Linq; |
|
|
using System.Resources; |
|
|
using System.Resources; |
|
|
using System.Security.Claims; |
|
|
using System.Security.Claims; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using IdentityServer4.AspNetIdentity; |
|
|
using IdentityServer4.AspNetIdentity; |
|
|
using IdentityServer4.Events; |
|
|
using IdentityServer4.Events; |
|
|
using IdentityServer4.Models; |
|
|
using IdentityServer4.Models; |
|
|
|
|
|
@ -3,7 +3,7 @@ using System.Linq; |
|
|
using System.Security.Claims; |
|
|
using System.Security.Claims; |
|
|
using System.Security.Principal; |
|
|
using System.Security.Principal; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using Microsoft.AspNetCore.Identity; |
|
|
using Microsoft.AspNetCore.Identity; |
|
|
using Microsoft.IdentityModel.JsonWebTokens; |
|
|
using Microsoft.IdentityModel.JsonWebTokens; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using IdentityServer4.Models; |
|
|
using IdentityServer4.Models; |
|
|
using IdentityServer4.Stores; |
|
|
using IdentityServer4.Stores; |
|
|
using IdentityServer4.Stores.Serialization; |
|
|
using IdentityServer4.Stores.Serialization; |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
using System.Linq; |
|
|
using System.Linq; |
|
|
using System.Security.Claims; |
|
|
using System.Security.Claims; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using IdentityServer4.Models; |
|
|
using IdentityServer4.Models; |
|
|
using IdentityServer4.Stores; |
|
|
using IdentityServer4.Stores; |
|
|
using Shouldly; |
|
|
using Shouldly; |
|
|
|
|
|
@ -7,7 +7,7 @@ |
|
|
</PropertyGroup> |
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
<ItemGroup> |
|
|
<PackageReference Include="IdentityModel" /> |
|
|
<PackageReference Include="Duende.IdentityModel" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly"/> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly"/> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" PrivateAssets="all"/> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" PrivateAssets="all"/> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication"/> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication"/> |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using Microsoft.AspNetCore.Components.Web; |
|
|
using Microsoft.AspNetCore.Components.Web; |
|
|
using Microsoft.AspNetCore.Components.WebAssembly.Hosting; |
|
|
using Microsoft.AspNetCore.Components.WebAssembly.Hosting; |
|
|
using OpenIddict.Demo.Client.BlazorWASM; |
|
|
using OpenIddict.Demo.Client.BlazorWASM; |
|
|
|
|
|
@ -8,7 +8,7 @@ |
|
|
</PropertyGroup> |
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
<ItemGroup> |
|
|
<PackageReference Include="IdentityModel" /> |
|
|
<PackageReference Include="Duende.IdentityModel" /> |
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc.Contracts\Volo.Abp.AspNetCore.Mvc.Contracts.csproj" /> |
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc.Contracts\Volo.Abp.AspNetCore.Mvc.Contracts.csproj" /> |
|
|
</ItemGroup> |
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
using System.Net.Http.Headers; |
|
|
using System.Net.Http.Headers; |
|
|
using System.Text.Json; |
|
|
using System.Text.Json; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations; |
|
|
using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations; |
|
|
|
|
|
|
|
|
const string email = "admin@abp.io"; |
|
|
const string email = "admin@abp.io"; |
|
|
|
|
|
@ -7,7 +7,7 @@ |
|
|
</PropertyGroup> |
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
<ItemGroup> |
|
|
<PackageReference Include="IdentityModel" /> |
|
|
<PackageReference Include="Duende.IdentityModel" /> |
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc\Volo.Abp.AspNetCore.Mvc.csproj" /> |
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc\Volo.Abp.AspNetCore.Mvc.csproj" /> |
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.AspNetCore.Authentication.OpenIdConnect\Volo.Abp.AspNetCore.Authentication.OpenIdConnect.csproj" /> |
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.AspNetCore.Authentication.OpenIdConnect\Volo.Abp.AspNetCore.Authentication.OpenIdConnect.csproj" /> |
|
|
</ItemGroup> |
|
|
</ItemGroup> |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using OpenIddict.Demo.Client.Mvc; |
|
|
using OpenIddict.Demo.Client.Mvc; |
|
|
|
|
|
|
|
|
var builder = WebApplication.CreateBuilder(args); |
|
|
var builder = WebApplication.CreateBuilder(args); |
|
|
|
|
|
@ -13,7 +13,7 @@ |
|
|
<ItemGroup> |
|
|
<ItemGroup> |
|
|
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" /> |
|
|
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" /> |
|
|
<PackageReference Include="Serilog.Sinks.Async" Version="2.1.0" /> |
|
|
<PackageReference Include="Serilog.Sinks.Async" Version="2.1.0" /> |
|
|
<PackageReference Include="IdentityModel" Version="7.0.0" /> |
|
|
<PackageReference Include="Duende.IdentityModel" Version="7.0.0" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.5" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.5" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="9.0.5" /> |
|
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="9.0.5" /> |
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.5" /> |
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.5" /> |
|
|
|
|
|
@ -2,7 +2,7 @@ using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using System.IO; |
|
|
using System.IO; |
|
|
using System.Linq; |
|
|
using System.Linq; |
|
|
using IdentityModel; |
|
|
using Duende.IdentityModel; |
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
using Microsoft.AspNetCore.Builder; |
|
|
using Microsoft.AspNetCore.Builder; |
|
|
using Microsoft.AspNetCore.Cors; |
|
|
using Microsoft.AspNetCore.Cors; |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Net.Http; |
|
|
using System.Net.Http; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using IdentityModel.Client; |
|
|
using Duende.IdentityModel.Client; |
|
|
using Microsoft.Extensions.Configuration; |
|
|
using Microsoft.Extensions.Configuration; |
|
|
using MyCompanyName.MyProjectName.Samples; |
|
|
using MyCompanyName.MyProjectName.Samples; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
using Volo.Abp.DependencyInjection; |
|
|
|