// // Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License. // namespace Astral.Services.Interfaces; /// /// A service providing a blacklist of email domains to prevent abuse. /// public interface IEmailDomainBlacklistService { /// /// Update the blacklist. /// Task UpdateBlacklist(); /// /// Check the email against the blacklist. /// /// The email address to test. /// True if the email address' domain is in the blacklist. Task CheckBlacklist(string emailAddress); }