using System; using System.Threading.Tasks; using Wino.Core.Domain.Entities; using Wino.Core.Domain.Enums; using Wino.Core.Domain.Interfaces; using Wino.Core.Services; namespace Wino.Core.Authenticators { public class CustomAuthenticator : BaseAuthenticator, IAuthenticator { public CustomAuthenticator(ITokenService tokenService) : base(tokenService) { } public override MailProviderType ProviderType => MailProviderType.IMAP4; public string ClientId => throw new NotImplementedException(); // Not needed. public event EventHandler InteractiveAuthenticationRequired; public void CancelAuthorization() { } public void ContinueAuthorization(Uri authorizationResponseUri) { } public Task GenerateTokenAsync(MailAccount account, bool saveToken) { throw new NotImplementedException(); } public Task GetTokenAsync(MailAccount account) { throw new NotImplementedException(); } } }