- 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.
8 lines
154 B
C#
8 lines
154 B
C#
namespace DigitalData.Auth.Abstractions;
|
|
|
|
public interface IAuthClient : IAuthClientHandler
|
|
{
|
|
Task StartAsync();
|
|
|
|
Task<bool> TryStartAsync();
|
|
} |