Renames Model to Dto

This commit is contained in:
BinaryAlley committed 2026-08-12 09:24:18 -07:00
1 parent 76b9596a27
commit 3aa9702411
32 files changed
+179 -139

No files matched your search

@@ -0,0 +1,34 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Infrastructure.Common.Models.DTO.Configuration;
/// <summary>
/// Data transfer object for deserializing media settings.
/// </summary>
[DebuggerDisplay("{SECTION_NAME}")]
public class JwtSettingsDto
{
public const string SECTION_NAME = "JwtSettings";
/// <summary>
/// The secret key used to sign the JWT. This should be a strong, securely stored key.
/// </summary>
public required string SecretKey { get; init; }
/// <summary>
/// The duration (in minutes) for which the JWT is valid.
/// </summary>
public required int ExpiryMinutes { get; init; }
/// <summary>
/// The issuer of the JWT, typically the application or service generating the token.
/// </summary>
public required string Issuer { get; init; }
/// <summary>
/// The intended audience for the JWT, usually representing the clients that can consume the token.
/// </summary>
public required string Audience { get; init; }
}