using System;
using System.ComponentModel.DataAnnotations;
namespace Mirea.Api.Dto.Responses;
///
/// Provides a JWT and RT token.
///
public class TokenResponse
{
///
/// A JWT token for accessing protected resources.
///
[Required]
public required string AccessToken { get; set; }
///
/// The date and time when the JWT token expires.
///
/// After this date, a new JWT token must be requested.
[Required]
public required DateTime ExpiresIn { get; set; }
}