Licensing
Internal licensing and authorization plumbing used by Live’s startup and
trial flows. The PythonLicensingBridge class drives session and product
identification, and ProgressDialog provides the modal UI shown during
authorization activity.
Classes
Section titled “Classes”ProgressDialog
Section titled “ProgressDialog”A modal dialog showing a message and a progress animation. From Live’s runtime docstring.
Methods
Section titled “Methods”end_modal_loop()
Section titled “end_modal_loop()”run_in_modal_loop()
Section titled “run_in_modal_loop()”set_status_message()
Section titled “set_status_message()”- msg: str
Returned by 1 member elsewhere in the LOM
PythonLicensingBridge
Section titled “PythonLicensingBridge”Interface to the internal licensing services. From Live’s runtime docstring.
Properties
Section titled “Properties”base_product_id: strhigh confidence- docstring “Returns Live’s current base product ID” — product IDs are string identifiers.
Section titled “base_product_id: strhigh confidencedocstring “Returns Live’s current base product ID” — product IDs are string identifiers.”Returns Live’s current base product ID. From Live’s runtime docstring.
in_sassafras_mode: boollow confidence- probe property name pattern “in X mode” suggests boolean. No raw_doc, no usage snippets, no M4L doc — pure naming inference. Watch for drift if a probe ever reaches this property.
Section titled “in_sassafras_mode: boollow confidenceprobe property name pattern “in X mode” suggests boolean. No raw_doc, no usage snippets, no M4L doc — pure naming inference. Watch for drift if a probe ever reaches this property.”license_must_match_variant: boolhigh confidence- docstring “Returns a bool indicating if we require…” — explicitly typed bool.
Section titled “license_must_match_variant: boolhigh confidencedocstring “Returns a bool indicating if we require…” — explicitly typed bool.”Returns a bool indicating if we require the license information returned by the server to match the variant of Live. From Live’s runtime docstring.
random_number_for_trial_authorization: inthigh confidence- docstring “Returns the integer to send along with the Trial authorization request”.
Section titled “random_number_for_trial_authorization: inthigh confidencedocstring “Returns the integer to send along with the Trial authorization request”.”Returns the integer to send along with the Trial authorization request. This same integer will be checked for in process_trial_response (and then changed).
From Live’s runtime docstring.
set_has_unsaved_changes: boolhigh confidence- docstring “Returns true if the set has unsaved changes” — explicitly bool.
Section titled “set_has_unsaved_changes: boolhigh confidencedocstring “Returns true if the set has unsaved changes” — explicitly bool.”Returns true if the set has unsaved changes. From Live’s runtime docstring.
Methods
Section titled “Methods”authorize_with_sassafras()
Section titled “authorize_with_sassafras()”create_new_live_set()
Section titled “create_new_live_set()”Creates a new live set and discards unsaved changes. From Live’s runtime docstring.
deauthenticate_user()
Section titled “deauthenticate_user()”Deletes the current session ID. From Live’s runtime docstring.
get_progress_dialog()
Section titled “get_progress_dialog()”Retrieves an instance of ProgressDialog. From Live’s runtime docstring.
get_session_id()
Section titled “get_session_id()”Retrieve stored session ID. From Live’s runtime docstring.
get_startup_dialog()
Section titled “get_startup_dialog()”- authorize_callable: CallableProbed as
objecthigh confidence- docstring “callables connected to its buttons” — both args are callback functions.
- authorize_later_callable: CallableProbed as
objecthigh confidence- docstring “callables connected to its buttons” — both args are callback functions.
Retrieves an instance of the startup dialog with the passed callables connected to its buttons. From Live’s runtime docstring.
get_trial_time_left()
Section titled “get_trial_time_left()”Returns remaining time on a trial as a formatted string. From Live’s runtime docstring.
invoke_pack_installation_callback()
Section titled “invoke_pack_installation_callback()”Call package installation callback. From Live’s runtime docstring.
load_and_convert_legacy_unlock_cfg()
Section titled “load_and_convert_legacy_unlock_cfg()”dicthigh confidence- docstring “Loads the Unlock.cfg file and returns either an empty dict or one that can be converted to an UnlockData object.”
- C++ signature explicitly returns
boost::python::dict. - probe the dict’s keys/values aren’t enumerated in the docs (varies with the legacy cfg format), so
dict[str, Any]is the honest parameterization.
Loads the Unlock.cfg file and returns either an empty dict or one that can be converted to an UnlockData object. From Live’s runtime docstring.
process_license_response()
Section titled “process_license_response()”- license_response_lines: list[str]Probed as
listhigh confidence- docstring “list of strings, each representing a server response”.
Processes a list of strings, each representing a server response to a product authorization. From Live’s runtime docstring.
process_trial_response()
Section titled “process_trial_response()”- trial_response_line: str
Process the server’s response to a Trial authorization. From Live’s runtime docstring.
request_exit()
Section titled “request_exit()”- exit_code: int = 0
save_current_set()
Section titled “save_current_set()”Saves the current Live session. From Live’s runtime docstring.
set_network_timer()
Section titled “set_network_timer()”- callback: Callable | NoneProbed as
objecthigh confidence- docstring “Pass None as callback to stop the timer”.
- interval_in_ms: int
Starts or stops a timer meant for driving network operations. Pass None as callback to stop the timer. If any callback invocation raises an exception, the timer is stopped. From Live’s runtime docstring.
store_session_id()
Section titled “store_session_id()”- session_id: str
Securely stores the user’s session ID (aka cookie, aka credentials). From Live’s runtime docstring.
StartupDialog
Section titled “StartupDialog”Serves as an entry point for the user to authorize Live on first launch. From Live’s runtime docstring.
Methods
Section titled “Methods”end_modal_loop()
Section titled “end_modal_loop()”run_in_modal_loop()
Section titled “run_in_modal_loop()”- show_only_offline_auth_instructions: bool
set_notification_message()
Section titled “set_notification_message()”- notification_text: str
- show_progress_bar: bool
Returned by 1 member elsewhere in the LOM
UnlockStatus
Section titled “UnlockStatus”Returns relevant information after unlock From Live’s runtime docstring.
Properties
Section titled “Properties”authorization_deactivated: bool
Section titled “authorization_deactivated: bool”authorization_expired: bool
Section titled “authorization_expired: bool”has_max_unlock_products: bool
Section titled “has_max_unlock_products: bool”temp_demo_mode: bool
Section titled “temp_demo_mode: bool”time_limited: bool
Section titled “time_limited: bool”unlock_error: bool
Section titled “unlock_error: bool”unlocked: bool
Section titled “unlocked: bool”Returned by 1 member elsewhere in the LOM
TrialContext
Section titled “TrialContext”Members
Section titled “Members”SAVE | 0 |
FORCE_UPDATE | 2 |
STARTUP | 3 |
Functions
Section titled “Functions”authorization_clock_days_ahead()
Section titled “authorization_clock_days_ahead()”Advances the current date by the number of days specified by _AuthClockDaysAhead From Live’s runtime docstring.
get_authorization_page_url()
Section titled “get_authorization_page_url()”- reauthorize: bool
- is_trial: bool
Retrieves the appopriate URL on ableton.com where the unser can initiate the authorization. From Live’s runtime docstring.
get_purchase_live_url()
Section titled “get_purchase_live_url()”Returns the environment-aware purchase URL for purchasing Live licenses From Live’s runtime docstring.
get_services_url()
Section titled “get_services_url()”Returns the URL against which service calls (e.g. for authorization) can be performed. From Live’s runtime docstring.
get_unlock_dir()
Section titled “get_unlock_dir()”tuple[object, …]high confidence- docstring “Returns a tuple containing the unlock file directory and a flag” — directory is str, flag is bool.
- probe probe stamps
tuplewith element_reprs[str, bool]; this refinement narrows to the fixed-position tuple shape.
Returns a tuple containing the unlock file directory and a flag indicating if the unlock file is in the system domain. From Live’s runtime docstring.
launch_web_browser()
Section titled “launch_web_browser()”- url: str
Opens a web browser at the specified URL on the user’s computer. From Live’s runtime docstring.
This is an independent reference site. Not affiliated with, endorsed by, or sponsored by Ableton AG. “Ableton”, “Live”, “Push”, and related marks are trademarks of Ableton AG.