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