From 20b455e69b475385bc4768b047c5b5a09466171f Mon Sep 17 00:00:00 2001 From: Kirill Kovalev Date: Thu, 28 Nov 2024 17:04:31 +0300 Subject: [PATCH] Fix DI registration for PushedAuthorizationHandler and PushedAuthorizationRequestValidator classes --- .../Abblix.DependencyInjection.csproj | 6 +++--- Abblix.Jwt/Abblix.Jwt.csproj | 6 +++--- Abblix.Oidc.Server.Mvc/Abblix.Oidc.Server.Mvc.csproj | 6 +++--- Abblix.Oidc.Server/Abblix.Oidc.Server.csproj | 6 +++--- .../PushedAuthorization/PushedAuthorizationHandler.cs | 2 ++ Abblix.Oidc.Server/Endpoints/ServiceCollectionExtensions.cs | 5 ++--- Abblix.Utils/Abblix.Utils.csproj | 6 +++--- 7 files changed, 19 insertions(+), 18 deletions(-) diff --git a/Abblix.DependencyInjection/Abblix.DependencyInjection.csproj b/Abblix.DependencyInjection/Abblix.DependencyInjection.csproj index 7d6d78ae..bf47f565 100644 --- a/Abblix.DependencyInjection/Abblix.DependencyInjection.csproj +++ b/Abblix.DependencyInjection/Abblix.DependencyInjection.csproj @@ -20,9 +20,9 @@ For detailed release notes, visit: https://github.com/Abblix/Oidc.Server/releases Abblix.png true - 1.3.0.0 - 1.3.0.0 - 1.3.0.0 + 1.3.0.1 + 1.3.0.1 + 1.3.0.1 diff --git a/Abblix.Jwt/Abblix.Jwt.csproj b/Abblix.Jwt/Abblix.Jwt.csproj index 3a3f942e..1c5b133a 100644 --- a/Abblix.Jwt/Abblix.Jwt.csproj +++ b/Abblix.Jwt/Abblix.Jwt.csproj @@ -20,9 +20,9 @@ For detailed release notes, visit: https://github.com/Abblix/Oidc.Server/releases Abblix.png true - 1.3.0.0 - 1.3.0.0 - 1.3.0.0 + 1.3.0.1 + 1.3.0.1 + 1.3.0.1 diff --git a/Abblix.Oidc.Server.Mvc/Abblix.Oidc.Server.Mvc.csproj b/Abblix.Oidc.Server.Mvc/Abblix.Oidc.Server.Mvc.csproj index c57a3fe3..a880c14d 100644 --- a/Abblix.Oidc.Server.Mvc/Abblix.Oidc.Server.Mvc.csproj +++ b/Abblix.Oidc.Server.Mvc/Abblix.Oidc.Server.Mvc.csproj @@ -21,9 +21,9 @@ For detailed release notes, visit: https://github.com/Abblix/Oidc.Server/releases Abblix.png true - 1.3.0.0 - 1.3.0.0 - 1.3.0.0 + 1.3.0.1 + 1.3.0.1 + 1.3.0.1 diff --git a/Abblix.Oidc.Server/Abblix.Oidc.Server.csproj b/Abblix.Oidc.Server/Abblix.Oidc.Server.csproj index 63ef2560..15055fa2 100644 --- a/Abblix.Oidc.Server/Abblix.Oidc.Server.csproj +++ b/Abblix.Oidc.Server/Abblix.Oidc.Server.csproj @@ -19,9 +19,9 @@ For detailed release notes, visit: https://github.com/Abblix/Oidc.Server/releases Abblix.png true - 1.3.0.0 - 1.3.0.0 - 1.3.0.0 + 1.3.0.1 + 1.3.0.1 + 1.3.0.1 diff --git a/Abblix.Oidc.Server/Endpoints/PushedAuthorization/PushedAuthorizationHandler.cs b/Abblix.Oidc.Server/Endpoints/PushedAuthorization/PushedAuthorizationHandler.cs index ff6be883..611dbad7 100644 --- a/Abblix.Oidc.Server/Endpoints/PushedAuthorization/PushedAuthorizationHandler.cs +++ b/Abblix.Oidc.Server/Endpoints/PushedAuthorization/PushedAuthorizationHandler.cs @@ -38,6 +38,8 @@ public class PushedAuthorizationHandler : IPushedAuthorizationHandler /// Initializes a new instance of the class with specified validator /// and processor services. /// + /// э + /// An instance of used to retrieve request objects. /// An instance of used for validating /// pushed authorization requests. /// An instance of used for processing diff --git a/Abblix.Oidc.Server/Endpoints/ServiceCollectionExtensions.cs b/Abblix.Oidc.Server/Endpoints/ServiceCollectionExtensions.cs index ad5b5ec0..55c488dc 100644 --- a/Abblix.Oidc.Server/Endpoints/ServiceCollectionExtensions.cs +++ b/Abblix.Oidc.Server/Endpoints/ServiceCollectionExtensions.cs @@ -21,7 +21,6 @@ // info@abblix.com using Abblix.DependencyInjection; -using Abblix.Jwt; using Abblix.Oidc.Server.Common.Configuration; using Abblix.Oidc.Server.Common.Implementation; using Abblix.Oidc.Server.Common.Interfaces; @@ -140,9 +139,9 @@ public static IServiceCollection AddAuthorizationContextValidators(this IService public static IServiceCollection AddPushedAuthorizationEndpoint(this IServiceCollection services) { return services - .AddScoped() - .AddScoped( + .AddScoped( Dependency.Override()) + .AddScoped() .AddScoped(); } diff --git a/Abblix.Utils/Abblix.Utils.csproj b/Abblix.Utils/Abblix.Utils.csproj index 3ca62a16..a9cfc9f5 100644 --- a/Abblix.Utils/Abblix.Utils.csproj +++ b/Abblix.Utils/Abblix.Utils.csproj @@ -20,9 +20,9 @@ For detailed release notes, visit: https://github.com/Abblix/Oidc.Server/releases Abblix.png true - 1.3.0.0 - 1.3.0.0 - 1.3.0.0 + 1.3.0.1 + 1.3.0.1 + 1.3.0.1