Files
DigitalData.Auth/DigitalData.Auth.Abstractions/IAuthClient.cs

14 lines
307 B
C#

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