Skip to content

Commit

Permalink
Merge pull request #1625 from DuendeSoftware/joe/d-id
Browse files Browse the repository at this point in the history
Host and Client build Fixes
  • Loading branch information
josephdecock authored Nov 18, 2024
2 parents 6bd1494 + f8c90c0 commit 4c83776
Show file tree
Hide file tree
Showing 45 changed files with 67 additions and 67 deletions.
16 changes: 8 additions & 8 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@
<PackageReference Update="Microsoft.EntityFrameworkCore.Design" Version="$(EntityFrameworkVersion)" PrivateAssets="All"/>

<!-- open telemetry -->
<PackageReference Update="OpenTelemetry" Version="1.8.1" />
<PackageReference Update="OpenTelemetry.Exporter.Console" Version="1.8.1" />
<PackageReference Update="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.8.1" />
<PackageReference Update="OpenTelemetry.Exporter.Prometheus.AspNetCore" Version="1.9.0-alpha.1" />
<PackageReference Update="OpenTelemetry.Extensions.Hosting" Version="1.8.1" />
<PackageReference Update="OpenTelemetry.Instrumentation.AspNetCore" Version="1.8.1" />
<PackageReference Update="OpenTelemetry.Instrumentation.Http" Version="1.8.1" />
<PackageReference Update="OpenTelemetry.Instrumentation.SqlClient" Version="1.8.0-beta.1" />
<PackageReference Update="OpenTelemetry" Version="1.10.0" />
<PackageReference Update="OpenTelemetry.Exporter.Console" Version="1.10.0" />
<PackageReference Update="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.10.0" />
<PackageReference Update="OpenTelemetry.Exporter.Prometheus.AspNetCore" Version="1.10.0-beta.1" />
<PackageReference Update="OpenTelemetry.Extensions.Hosting" Version="1.10.0" />
<PackageReference Update="OpenTelemetry.Instrumentation.AspNetCore" Version="1.9.0" />
<PackageReference Update="OpenTelemetry.Instrumentation.Http" Version="1.9.0" />
<PackageReference Update="OpenTelemetry.Instrumentation.SqlClient" Version="1.9.0-beta.1" />

<!-- Transitive Dependencies -->
<!-- These packages are all transitive dependencies that would
Expand Down
2 changes: 1 addition & 1 deletion clients/src/APIs/DPoPApi/DPoP/DPoPExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using IdentityModel;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.IdentityModel.Tokens;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/APIs/DPoPApi/DPoP/DPoPJwtBearerEvents.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using IdentityModel;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/APIs/DPoPApi/DPoP/DPoPProofValidator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using IdentityModel;
using Duende.IdentityModel;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
Expand Down
4 changes: 2 additions & 2 deletions clients/src/ConsoleCibaClient/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Clients;
using IdentityModel;
using IdentityModel.Client;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleClientCredentialsFlow/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System;
using System.Net.Http;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System;
using System.Net.Http;
using System.Threading.Tasks;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleClientCredentialsFlowDPoP/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System;
using System.Net.Http;
using System.Threading.Tasks;
Expand Down
4 changes: 2 additions & 2 deletions clients/src/ConsoleCode/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Clients;
using IdentityModel.Client;
using IdentityModel.OidcClient;
using Duende.IdentityModel.Client;
using Duende.IdentityModel.OidcClient;
using Serilog;
using System;
using System.Net.Http;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleCode/SystemBrowser.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using IdentityModel.OidcClient.Browser;
using Duende.IdentityModel.OidcClient.Browser;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleCustomGrant/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System;
using System.Net.Http;
using System.Threading.Tasks;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleDcrClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Net.Http;
using System.Text.Json;
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;



Expand Down
4 changes: 2 additions & 2 deletions clients/src/ConsoleDeviceFlow/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Clients;
using IdentityModel;
using IdentityModel.Client;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using System;
using System.Diagnostics;
using System.Net.Http;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleEphemeralMtlsClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;

namespace ConsoleEphemeralMtlsClient
{
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleIntrospectionClient/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System;
using System.Linq;
using System.Net.Http;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleMTLSClient/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System;
using System.Net.Http;
using System.Security.Cryptography.X509Certificates;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleParameterizedScopeClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;

namespace ConsoleParameterizedScopeClient
{
Expand Down
4 changes: 2 additions & 2 deletions clients/src/ConsolePrivateKeyJwtClient/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Clients;
using IdentityModel;
using IdentityModel.Client;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
Expand Down
6 changes: 3 additions & 3 deletions clients/src/ConsoleResourceIndicators/Program.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using Clients;
using IdentityModel.OidcClient;
using Duende.IdentityModel.OidcClient;
using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IdentityModel;
using IdentityModel.Client;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;

namespace ConsoleResourceIndicators
{
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleResourceIndicators/SystemBrowser.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using IdentityModel.OidcClient.Browser;
using Duende.IdentityModel.OidcClient.Browser;
using System;
using System.Diagnostics;
using System.Net;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleResourceOwnerFlow/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System;
using System.Net.Http;
using System.Threading.Tasks;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleResourceOwnerFlowPublic/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System;
using System.Net.Http;
using System.Threading.Tasks;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleResourceOwnerFlowReference/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System;
using System.Net.Http;
using System.Threading.Tasks;
Expand Down
4 changes: 2 additions & 2 deletions clients/src/ConsoleResourceOwnerFlowRefreshToken/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Clients;
using IdentityModel;
using IdentityModel.Client;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using System;
using System.Net.Http;
using System.Text;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleResourceOwnerFlowUserInfo/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System;
using System.Net.Http;
using System.Threading.Tasks;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/ConsoleScopesResources/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;

namespace ConsoleScopesResources
{
Expand Down
2 changes: 1 addition & 1 deletion clients/src/Constants/Constants.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="IdentityModel" />
<PackageReference Include="Duende.IdentityModel" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions clients/src/Constants/TokenResponseExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using IdentityModel;
using IdentityModel.Client;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using System;
using System.Text;
using System.Text.Json;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/MvcCode/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
Expand Down
4 changes: 2 additions & 2 deletions clients/src/MvcCode/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
using System;
using Clients;
using IdentityModel;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using System.IdentityModel.Tokens.Jwt;
using System.Net.Http;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using Microsoft.Extensions.Configuration;
using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.AspNetCore.Authorization;
using System.Net.Http;
using Clients;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System.Globalization;

namespace MvcHybrid.Controllers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Clients;
using IdentityModel;
using IdentityModel.Client;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
Expand Down
4 changes: 2 additions & 2 deletions clients/src/MvcHybridBackChannel/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using System.IdentityModel.Tokens.Jwt;
using IdentityModel;
using Duende.IdentityModel;
using Clients;
using Microsoft.IdentityModel.Tokens;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using System.Net.Http;
using Microsoft.Extensions.Configuration;
using OpenTelemetry.Resources;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/MvcJarJwt/AssertionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using Clients;
using IdentityModel;
using Duende.IdentityModel;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Microsoft.IdentityModel.Tokens;

Expand Down
4 changes: 2 additions & 2 deletions clients/src/MvcJarJwt/ClientAssertionService.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Threading.Tasks;
using IdentityModel;
using IdentityModel.Client;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Duende.AccessTokenManagement;

namespace MvcJarJwt;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/MvcJarJwt/OidcEvents.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Threading.Tasks;
using IdentityModel;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;

namespace MvcJarJwt;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/MvcJarPar/AssertionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using Clients;
using IdentityModel;
using Duende.IdentityModel;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Microsoft.IdentityModel.Tokens;

Expand Down
4 changes: 2 additions & 2 deletions clients/src/MvcJarPar/OidcEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using IdentityModel;
using IdentityModel.Client;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;

namespace MvcJarPar;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/MvcJarUriJwt/AssertionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using Clients;
using IdentityModel;
using Duende.IdentityModel;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Microsoft.IdentityModel.Tokens;

Expand Down
4 changes: 2 additions & 2 deletions clients/src/MvcJarUriJwt/ClientAssertionService.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Threading.Tasks;
using IdentityModel;
using IdentityModel.Client;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Duende.AccessTokenManagement;

namespace MvcJarUriJwt;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/MvcJarUriJwt/OidcEvents.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Threading.Tasks;
using IdentityModel;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;

namespace MvcJarUriJwt;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/MvcPar/ParOidcEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Text.Json.Serialization;
using System.Threading;
using System.Threading.Tasks;
using IdentityModel.Client;
using Duende.IdentityModel.Client;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
Expand Down
2 changes: 1 addition & 1 deletion clients/src/MvcPar/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.IdentityModel.Tokens;
using System;
using Microsoft.Extensions.Configuration;
using IdentityModel.Client;
using Duende.IdentityModel.Client;

namespace MvcPar
{
Expand Down
Loading

0 comments on commit 4c83776

Please sign in to comment.