astral-api/Astral.Services/Options/EmailDomainBlacklistOptions.cs
2024-12-11 20:36:30 +00:00

21 lines
625 B
C#

// <copyright file="EmailDomainBlacklistOptions.cs" company="alveus.dev">
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
// </copyright>
namespace Astral.Services.Options;
/// <summary>
/// Configuration for the email domain blacklist service.
/// </summary>
public class EmailDomainBlacklistOptions
{
/// <summary>
/// Whether the email domain blacklist should be used.
/// </summary>
public bool Enabled { get; set; }
/// <summary>
/// Url of a master list for email address domains to blacklist.
/// </summary>
public string MasterList { get; set; }
}