Developer 02 31ccd93b0d refactor(AuthClient): Enhance AuthClient with lazy initialization and connection error handling
- Replaced immediate connection start with lazy initialization via Lazy<Task<bool>>.
- Added IsConnected and ConnectionError properties to track connection status and errors.
- Introduced TryStartAsync method to safely attempt connection startup without throwing exceptions.
2025-02-03 16:22:41 +01:00

8 lines
154 B
C#

namespace DigitalData.Auth.Abstractions;
public interface IAuthClient : IAuthClientHandler
{
Task StartAsync();
Task<bool> TryStartAsync();
}