mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 12:05:51 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
16 lines
360 B
C#
16 lines
360 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Kavita.Models.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; }
|
|
}
|