From cccfeadda5ce2b780847a2b0d0f9318ef33b1703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Wed, 2 Oct 2024 15:37:49 +0200 Subject: [PATCH] Rename OpenIddictConfiguration.JwksUri to JsonWebKeySetUri for consistency with the recent changes --- .../Primitives/OpenIddictConfiguration.cs | 4 ++-- .../OpenIddictClientWebIntegrationHandlers.Discovery.cs | 2 +- src/OpenIddict.Client/OpenIddictClientHandlers.Discovery.cs | 2 +- src/OpenIddict.Client/OpenIddictClientRetriever.cs | 4 ++-- .../OpenIddictValidationHandlers.Discovery.cs | 2 +- src/OpenIddict.Validation/OpenIddictValidationRetriever.cs | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/OpenIddict.Abstractions/Primitives/OpenIddictConfiguration.cs b/src/OpenIddict.Abstractions/Primitives/OpenIddictConfiguration.cs index 3b357df8e..11cbc21c1 100644 --- a/src/OpenIddict.Abstractions/Primitives/OpenIddictConfiguration.cs +++ b/src/OpenIddict.Abstractions/Primitives/OpenIddictConfiguration.cs @@ -72,9 +72,9 @@ public sealed class OpenIddictConfiguration public JsonWebKeySet? JsonWebKeySet { get; set; } /// - /// Gets or sets the URI of the JSON Web Key Set endpoint. + /// Gets or sets the URI of the JSON Web Key Set. /// - public Uri? JwksUri { get; set; } + public Uri? JsonWebKeySetUri { get; set; } /// /// Gets or sets the URI of the mTLS-enabled device authorization endpoint. diff --git a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.Discovery.cs b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.Discovery.cs index c7aab55aa..5f6d23eaf 100644 --- a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.Discovery.cs +++ b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.Discovery.cs @@ -426,7 +426,7 @@ public ValueTask HandleAsync(HandleConfigurationResponseContext context) { context.Configuration.AuthorizationEndpoint = new Uri("https://www.sandbox.paypal.com/signin/authorize", UriKind.Absolute); - context.Configuration.JwksUri = + context.Configuration.JsonWebKeySetUri = new Uri("https://api-m.sandbox.paypal.com/v1/oauth2/certs", UriKind.Absolute); context.Configuration.RevocationEndpoint = new Uri("https://api-m.sandbox.paypal.com/v1/oauth2/revoke", UriKind.Absolute); diff --git a/src/OpenIddict.Client/OpenIddictClientHandlers.Discovery.cs b/src/OpenIddict.Client/OpenIddictClientHandlers.Discovery.cs index adf9cb70f..2bb8f9c8f 100644 --- a/src/OpenIddict.Client/OpenIddictClientHandlers.Discovery.cs +++ b/src/OpenIddict.Client/OpenIddictClientHandlers.Discovery.cs @@ -345,7 +345,7 @@ public ValueTask HandleAsync(HandleConfigurationResponseContext context) return default; } - context.Configuration.JwksUri = uri; + context.Configuration.JsonWebKeySetUri = uri; return default; } diff --git a/src/OpenIddict.Client/OpenIddictClientRetriever.cs b/src/OpenIddict.Client/OpenIddictClientRetriever.cs index 16d68715c..84c3f9ce7 100644 --- a/src/OpenIddict.Client/OpenIddictClientRetriever.cs +++ b/src/OpenIddict.Client/OpenIddictClientRetriever.cs @@ -54,12 +54,12 @@ async Task IConfigurationRetriever IConfigurationRetriever