using ColaFlow.Modules.Identity.Domain.Aggregates.Tenants;
using ColaFlow.Modules.Identity.Domain.Aggregates.Users;

namespace ColaFlow.Modules.Identity.Application.Services;

public interface IJwtService
{
    string GenerateToken(User user, Tenant tenant, TenantRole tenantRole);
    Task<string> GenerateRefreshTokenAsync(User user, CancellationToken cancellationToken = default);
}
