2024-11-20 01:45:48 +01:00
|
|
|
|
using Wino.Core.Domain.Enums;
|
|
|
|
|
|
using Wino.Core.Domain.Interfaces;
|
|
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
|
namespace Wino.Authentication;
|
|
|
|
|
|
|
|
|
|
|
|
public abstract class BaseAuthenticator
|
2024-11-20 01:45:48 +01:00
|
|
|
|
{
|
2025-02-16 11:54:23 +01:00
|
|
|
|
public abstract MailProviderType ProviderType { get; }
|
|
|
|
|
|
protected IAuthenticatorConfig AuthenticatorConfig { get; }
|
2025-02-16 11:43:30 +01:00
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
|
protected BaseAuthenticator(IAuthenticatorConfig authenticatorConfig)
|
|
|
|
|
|
{
|
2024-11-20 01:45:48 +01:00
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
|
AuthenticatorConfig = authenticatorConfig;
|
2024-11-20 01:45:48 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|