SDK Guides

Get started in 4 steps

Every SDK follows the same four-step flow: install, initialize, authenticate, validate. Pick your language below.

1Download the SDK

Grab atheryx_sdk.h from the SDK downloader in your dashboard.

2Include and init

#include "atheryx_sdk.h"; then call Atheryx::init(...) with your owner ID, app name, version, and secret.

3Authenticate

Call Atheryx::login(username, password, hwid) — the SDK manages the session token for you.

4Validate licenses

Before unlocking features, call Atheryx::validate(licenseKey). Check the returned status code.

1Reference the DLL

Add AtheryxSDK.dll to your project from the SDK downloader.

2Create a client

var atheryx = new Atheryx.Client(ownerId, appName, version, secret);

3Authenticate

await atheryx.LoginAsync(username, password, hwid);

4Check the session

The returned session object exposes roles, tags, and licenses for feature gating.

JavaScript

Download SDK
1Install

npm install atheryx-sdk

2Initialize

const atheryx = new Atheryx({ appId, secret });

3Authenticate

const session = await atheryx.login({ username, password, hwid });

4Validate

const ok = await atheryx.validateLicense(licenseKey);

1Install

pip install atheryx

2Initialize

import atheryx; client = atheryx.Client(app_id, secret)

3Authenticate

session = client.login(username, password, hwid)

4Validate

status = client.validate(license_key) # status.ok -> bool

1Install

npm install atheryx-sdk

2Initialize

const Atheryx = require("atheryx-sdk"); const a = new Atheryx({ appId, secret });

3Authenticate

const session = await a.login({ username, password, hwid });

4Validate

const res = await a.validate({ licenseKey });

Missing a language?

Use the REST API directly — it powers every SDK.

API Reference

Ready to take your app security
to the next level?

Start free — auth, hardware-bound licensing and subscriptions in one API.