C++ SDK
C++20 / Windows native / MSVC · LibreAuth native client · Protocol v2 available (Enterprise)
C++
C++20 / Windows native / MSVC
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
- Credentials: name + ownerid (10 characters)
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
cpp/README.md - Ed25519 key: from
init→ Response Signing - 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");
More Links
- ← All Client SDKs
- 1.x source: View README.md
- Protocol v2: View libreauth_v2.hpp · docs
- Interactive API docs
- Response Signing
- C++ detailed setup