Integration Overview
Client plugins should treat License Server as a remote licensing backend.
Recommended client-side pieces
Section titled “Recommended client-side pieces”- a config source for base URL, slug, option keys, and timeouts
- a license client or service class
- local admin-only REST endpoints for the plugin UI
- local storage for license key, status, and expiration
- a transient cache for validation state
Endpoint rules
Section titled “Endpoint rules”/activaterequireslicense_key,slug, anddomain/checkrequireslicense_keyandslug/checkcan also validate a specific activation row whendomainis sent/update-check/{slug}/{license_key}returns update metadata/download/{slug}/{license_key}streams the protected zip
Avoid calling the License Server API directly from browser code. A safer pattern is:
- browser UI calls your plugin’s local admin REST endpoint
- your local PHP endpoint calls License Server
- your plugin stores the resulting status locally