Gate the build first
Call /versioncheck on startup. A VERSION_MISMATCH is your cue to block the client and prompt an update — before a single credential is typed.
Most auth stops at “is the password right?”. CXA keeps answering the harder questions: which machine, which version, which plan, how long, and should it still be running at all.
A CXA login is not a password check. It is a chain: version gate, credential check, ban state, hardware lock, license expiry and blacklist. One call returns the verdict and the subscription envelope your client needs.
Call /versioncheck on startup. A VERSION_MISMATCH is your cue to block the client and prompt an update — before a single credential is typed.
/login returns LOGIN_SUCCESS with rank and expiry, or a specific failure: banned, HWID mismatch, expired, paused. No ambiguous “invalid”.
/register consumes a license key to create a user. Registrations fail cleanly when a key is used, invalid or already bound.
/heartbeat re-runs the chain every few minutes and stamps last-seen and last-IP. Revocation lands on the next beat, not the next release.
Mint from the dashboard or the API. Attach a rank, a note, an expiry. When a customer buys again, redeem a fresh key onto the existing account instead of forcing a new one.
Redeeming adds days to the current expiry rather than resetting it. An expired customer can renew without losing their username or device history. Rank can move up with the key.
Every generated key follows the same CXA-XXXX shape, so support conversations, reseller ledgers and bot receipts all line up.
Send any stable device identifier you control. CXA stores the binding, rejects other fingerprints, and gives you explicit reset and blacklist tools instead of hidden heuristics.
Pass hwid and the session locks to it. A second machine receives HWID_MISMATCH until you reset the binding.
/reset_hwid clears the lock for a legitimate upgrade. The action is yours, not a customer-side bypass.
Block an HWID or IP across login, register, heartbeat, redeem, files and logs with /blacklist_add.
Use a stable hash or opaque value generated by your loader. The identifier is yours to define; CXA only needs consistency.
A static login is a snapshot. Heartbeat is the live wire. On every call CXA re-checks the full chain and updates presence — so revocation does not wait for a client restart.
Shared keys, leaked builds and chargeback fraud all look the same to a login-only system: valid. A heartbeat turns “valid until they close the app” into “valid until I say otherwise”.
Pair it with /announcement to keep old or paused clients informed — the message still renders when everything else is locked.
Remote variables are the difference between a config change and a deploy. Push values, toggles and messages into clients that are already in the wild.
/getvariable and /getvariables deliver config as data. Feature flags, endpoints, pricing strings — no patch required.
/announcement bundles MOTD, pause state and server version in one call that still works when the app is paused.
/server_time returns an authoritative timestamp. Compare it locally to detect clock rollback aimed at expiry checks.
/update_check returns UPDATE_AVAILABLE with a download URL and changelog when a build falls behind — even while paused.
Configs, scripts and offsets are part of the product. Serve them through validation rather than a public URL, and keep the attempt trail.
/secure_file runs the same full validation chain as login, then releases the requested file from the app container. No session, no bytes.
/send_log accepts typed client events — info, warn, error, cheat, debug, auth — with IP and timestamp. Anti-debug hits become data instead of guesswork.
Oversized payloads are rejected. Logs are scoped to the app and user that sent them.
Resellers and bots are how software actually gets sold. CXA gives them their own surfaces, scoped to your applications and revocable in one move.
Create a reseller, select their applications, share a private link. They manage their own customers without ever seeing your dashboard.
Six routes for Discord and Telegram stores: create user, create license, reset HWID, inspect, extend, delete — 60 requests per minute per key.
Discord and Telegram notifications for new users, expiring licenses, bans and paused applications. Test delivery without leaving the tab.
Dashboard actions and API events leave a readable trail. When a key disappears, you can see who touched what and when.
Your loader talks to one HTTPS endpoint. CXA validates against an encrypted record store and can fan out to your notification channels. No agent, no background daemon, no proprietary transport.
Rolling your own is not free — it is paid in weeks and maintenance. General auth products are not built for licenses, devices and kill switches. CXA sits in that gap on purpose.
| Requirement | Roll your own | Generic auth SaaS | CXA |
|---|---|---|---|
| Time to first protected build | Weeks of work | Hours of wiring | Minutes |
| Hardware binding | Build + maintain | Add-on or absent | Native |
| Instant revocation | Client redeploy | Webhook glue | Heartbeat |
| License keys + ranks | Custom schema | Not the model | First-class |
| Reseller + seller workflows | Another project | Not offered | Built in |
| Pricing shape | Engineering time | Per seat / per login | Credits, no login tax |
| Operational load | Yours, forever | Vendor | Vendor |
Create an account, mint your first license in under a minute, and keep every device, expiry and version answerable to you.