def METHOD_NAME():
    license_info = LicenseHandler.validate_license("pro", license_type="developer")
    if license_info["license_type"] == "noncommercial":
        return "noncommercial"
    license_dict = json.dumps(
        {
            "version": xlwings.__version__,
            "products": license_info["products"],
            "valid_until": "2999-12-31",
            "license_type": "deploy_key",
        }
    ).encode()
    if LicenseHandler.get_license().startswith("gA"):
        # Legacy
        cipher_suite = LicenseHandler.get_cipher()
        return cipher_suite.encrypt(license_dict).decode()
    else:
        body = base64.urlsafe_b64encode(license_dict)
        signature = hmac.new(
            os.getenv("XLWINGS_LICENSE_KEY_SECRET").encode(), body, hashlib.sha256
        ).hexdigest()
        return f"{body.decode()}{signature[:5]}"