diff --git a/DigitalData.Auth.Abstractions/DigitalData.Auth.Abstractions.csproj b/DigitalData.Auth.Abstractions/DigitalData.Auth.Abstractions.csproj
index 7a360a1..262af41 100644
--- a/DigitalData.Auth.Abstractions/DigitalData.Auth.Abstractions.csproj
+++ b/DigitalData.Auth.Abstractions/DigitalData.Auth.Abstractions.csproj
@@ -6,7 +6,7 @@
enable
DigitalData.Auth.Abstractions defines lightweight interfaces for sending and receiving authentication keys in .NET applications. It provides a unified IAuthClient for managing connections and errors, enabling seamless integration with authentication systems.
DigitalData.Auth.Abstractions
- 1.1.0
+ 1.2.0
Digital Data GmbH
Digital Data GmbH
Copyright 2025
@@ -14,8 +14,8 @@
auth_icon.png
http://git.dd:3000/AppStd/DigitalData.Auth
Digital Data Auth Authorization Authentication Abstractions
- 1.1.0
- 1.1.0
+ 1.2.0
+ 1.2.0
diff --git a/DigitalData.Auth.Client/DIExtensions.cs b/DigitalData.Auth.Client/DIExtensions.cs
index c9114cf..b30f97d 100644
--- a/DigitalData.Auth.Client/DIExtensions.cs
+++ b/DigitalData.Auth.Client/DIExtensions.cs
@@ -23,7 +23,11 @@ public static class DIExtensions
var client = sp.GetRequiredService() as AuthClient;
if (client is not null)
return client;
- else throw new Exception();
+ else throw new InvalidOperationException(
+ "IAuthClient instance could not be resolved from the service provider. " +
+ "This may indicate that the 'AddAuthHubClient' extension method was not called " +
+ "or there was an issue with the dependency registration process."
+ );
});
return services;
diff --git a/DigitalData.Auth.Client/DigitalData.Auth.Client.csproj b/DigitalData.Auth.Client/DigitalData.Auth.Client.csproj
index b1541fd..e21aaa0 100644
--- a/DigitalData.Auth.Client/DigitalData.Auth.Client.csproj
+++ b/DigitalData.Auth.Client/DigitalData.Auth.Client.csproj
@@ -5,7 +5,7 @@
enable
enable
DigitalData.Auth.Client
- 1.2.0
+ 1.2.1.1
DigitalData.Auth.Client is a SignalR-based authentication client that enables applications to connect to a central authentication hub for real-time message exchange. It provides seamless connection management, automatic reconnection (RetryPolicy), and event-driven communication (ClientEvents). The package includes dependency injection support via DIExtensions, allowing easy integration into ASP.NET Core applications. With built-in retry policies and secure message handling, it ensures a reliable and scalable authentication client for real-time authentication workflows.
Digital Data GmbH
Digital Data GmbH
@@ -14,8 +14,8 @@
auth_icon.png
http://git.dd:3000/AppStd/DigitalData.Auth
Digital Data Auth Authorization Authentication
- 1.2.0
- 1.2.0
+ 1.2.1.1
+ 1.2.1.1