Client Integration
Connect your application to LibreAuth API v1.3 — init, login, license, and check.
INFO
LibreAuth API v1.3 — use
init, login, license, register, and check from any official SDK. Point all clients to your server URL below.Setup in 4 steps
- Install LibreAuth — Installation guide
- Create application — Panel → Applications → copy App Name and Owner ID
- Set API URL in your SDK to
https://libreauth.nutexe.dev/api/1.3/ - C++ clients: set Ed25519 public key from /health — C++ setup
PHP
require 'LibreAuth.php';
$LibreAuthPublicKey = 'ED25519_HEX_FROM_HEALTH';
$app = new LibreAuth('AppName', 'OWNER_ID', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');
$app->init();
$app->login($username, $password, $hwid);
Download: /sdk/php/LibreAuth.php
C++
std::string url = "https://libreauth.nutexe.dev/api/1.3/";
static std::string get_public_key_hex() {
return "58cd1baa23130577649b4f2ddb69f10e224fa761ed7cf7ac2e79c8f4c8a95b79";
}
C# / JS / Python / Go / Rust / Lua
var app = new LibreAuth("AppName", "OWNER_ID", "1.0", "https://libreauth.nutexe.dev/api/1.3/");
await app.InitAsync();
await app.LoginAsync(username, password, hwid);
All 17 languages: SDK Portal · per-language guides under Client SDKs
API reference
| Endpoint | Description |
|---|---|
init | Start session, get enckey |
login | Username + password auth |
license | License key activation |
register | Create new user account |
check | Validate active session |
Full reference: All Endpoints · Response Signing
Go-live checklist
- App version in client matches panel App Version
init()succeeds on production build- Ed25519 signature verify passes (C++ / signed responses)
- Hash check / anti-tamper settings match your release
- API URL points to your domain — no third-party auth URLs in build
INFO