mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 06:15:25 -04:00
8043650aa5
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
16 lines
350 B
C#
16 lines
350 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace API.DTOs.Account;
|
|
#nullable enable
|
|
|
|
public sealed record RotateAuthKeyRequestDto
|
|
{
|
|
[Required]
|
|
[Range(8, 32)]
|
|
public int KeyLength { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = false)]
|
|
public required string Name { get; set; }
|
|
public string? ExpiresUtc { get; set; }
|
|
}
|