astral-api/Astral.Services/Options/EmailDomainBlacklistOptions.cs

22 lines
625 B
C#
Raw Normal View History

2024-12-11 21:36:30 +01:00
// <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; }
}