LibreAuth

PHP SDK

PHP 7.4+ with curl + sodium · LibreAuth native client · Protocol v2 available (Enterprise)

PHP PHP 7.4+ with curl + sodium
POST https://libreauth.nutexe.dev/api/1.3/

Setup Guide

LibreAuthV2.php · OpsBridge::ProcessCheckOps after Check · OpsExecutor + Hardening · full Windows ops parity · ext-sodium · AEAD iv16 · /api/v2/

  1. Credentials: name + ownerid (10 characters)
  2. API URL: https://libreauth.nutexe.dev/api/1.3/
  3. Source: php/LibreAuth.php
  4. Ed25519 key: from initResponse Signing
  5. Test: Live API · Init docs

Install / Dependencies

Terminal
# 1.x: LibreAuth.php + sodium
# v2 Enterprise: LibreAuthV2.php → /api/v2/

Code Example

PHP
require 'LibreAuthV2.php';
$app = new LibreAuthV2('AppName', 'OWNER_ID_10', 'https://host/api/v2/');
$app->Init();
$app->Login('user', 'pass', 'HWID');

Quick Test

Test
php sdk/php/example.php

Protocol v2 (Enterprise)

INFO
Requires Enterprise plan. Endpoint https://libreauth.nutexe.dev/api/v2/. Guide: API Protocol v2.

Source: php/LibreAuthV2.php

PHP · v2
require 'LibreAuthV2.php';
$app = new LibreAuthV2('AppName', 'OWNER_ID_10', 'https://host/api/v2/');
$app->Init();
$app->Login('user', 'pass', 'HWID');