14 lines
299 B
C#

namespace DigitalData.Auth.Abstractions;
public interface IAuthClient : IListenHandler, ISenderHandler
{
bool IsConnected { get; }
Exception? ConnectionError { get; }
bool IsConnectionFailed => ConnectionError is not null;
Task StartAsync();
Task<bool> TryStartAsync();
}