using adas_core.Domain.Models.AppSettings;
using adas_core.Domain.Models.MongoModels;

namespace adas_core.Authentication.Models;

public class TokenResult
{
    public string AccessToken { get; set; } = null!;
    public DateTime AccessTokenExpiryTime { get; set; }
    public string RefreshToken { get; set; } = null!;
    public DateTime RefreshTokenExpiryTime { get; set; }
    public User User { get; set; } = new();
}

public class TokenResultPanel
{
    public TokenResult TokenResult { get; set; } = null!;
    public PanelPermissionTypes Permissions { get; set; } = null!;
}