LibreAuth

C++ SDK

C++20 / Windows native / MSVC · LibreAuth native client · Protocol v2 available (Enterprise)

C++ C++20 / Windows native / MSVC
POST https://libreauth.nutexe.dev/api/1.3/

Setup Guide

libreauth_v2.hpp · ops_bridge.hpp ProcessCheckOps after every Check · ops_executor.hpp + hardening.hpp · full Windows ops parity · libcurl + OpenSSL + libsodium + nlohmann/json

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

Install / Dependencies

Terminal
// v2: sdk/cpp/libreauth_v2.hpp
// deps: libcurl + OpenSSL + libsodium + nlohmann/json
// optional signed ops: sdk/cpp/ops_executor.hpp

Code Example

C++
la::v2::Client::Config cfg{"AppName", "OWNER_ID_10", "https://host", "ED25519_PUBLIC_KEY"};
auto device = la::v2::NewDeviceKey();
la::v2::Client app(std::move(cfg), std::move(device));
app.Init();
app.Login("user", "pass", "HWID");

Protocol v2 (Enterprise)

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

Source: cpp/libreauth_v2.hpp

C++ · v2
la::v2::Client::Config cfg{"AppName", "OWNER_ID_10", "https://host", "ED25519_PUBLIC_KEY"};
auto device = la::v2::NewDeviceKey();
la::v2::Client app(std::move(cfg), std::move(device));
app.Init();
app.Login("user", "pass", "HWID");