using Meezi.Core.Entities;
using Meezi.Core.Enums;

namespace Meezi.API.Services;

public interface IJwtTokenService
{
    string CreateAccessToken(Employee employee, Cafe cafe);
    string CreateConsumerAccessToken(ConsumerAccount account, string language = "fa");
    string CreateRefreshToken();
    DateTime GetAccessTokenExpiry();
}

public record TokenPair(string AccessToken, string RefreshToken, DateTime AccessTokenExpiresAt);
