namespace MaksIT.Core.Security.JWT;
public class JWTTokenGenerateRequest {
///
/// Secret key used for signing the JWT token. Must be kept secure and not shared publicly.
///
public required string Secret { get; set; }
///
/// Issuer of the JWT token, typically the application or service that generates the token.
///
public required string Issuer { get; set; }
///
/// Gets or sets the audience for the application.
///
public required string Audience { get; set; }
///
/// Expiration time in minutes.
///
public double Expiration { get; set; }
///
/// Gets or sets the unique identifier for the user.
///
public string? UserId { get; set; }
///
/// Gets or sets the username associated with the user.
///
public string? Username { get; set; }
///
/// Gets or sets the list of roles associated with the current entity.
///
public List? Roles { get; set; }
}