LibreAuth Nut.exe Visit Website

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

  1. Install LibreAuthInstallation guide
  2. Create application — Panel → Applications → copy App Name and Owner ID
  3. Set API URL in your SDK to https://libreauth.nutexe.dev/api/1.3/
  4. C++ clients: set Ed25519 public key from /healthC++ 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

EndpointDescription
initStart session, get enckey
loginUsername + password auth
licenseLicense key activation
registerCreate new user account
checkValidate active session

Full reference: All Endpoints · Response Signing

Go-live checklist