Unity SDK
Unity 2021+ / C# · LibreAuth native client · Protocol v2 available (Enterprise)
Unity
Unity 2021+ / C#
Setup Guide
Import LibreAuthV2.cs + OpsBridge/OpsExecutor/Hardening · ProcessCheckOpsAsync after Check · full Windows ops parity · NuGet NSec.Cryptography (define NSEC) + BouncyCastle.Cryptography (AEAD iv16) · URL /api/v2/
- Credentials: name + ownerid (10 characters)
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
csharp/LibreAuthV2.cs - Ed25519 key: from
init→ Response Signing - Test: Live API · Init docs
Install / Dependencies
Terminal
# Import LibreAuthV2.cs · Enterprise URL /api/v2/
Code Example
Unity
var app = new LibreAuth.Sdk.V2.LibreAuthV2("AppName", "OWNER_ID_10", "https://host/api/v2/");
await app.InitAsync();
await app.LoginAsync(user, pass, SystemInfo.deviceUniqueIdentifier);
Protocol v2 (Enterprise)
INFO
Requires Enterprise plan. Endpoint
https://libreauth.nutexe.dev/api/v2/. Guide: API Protocol v2.Source: csharp/LibreAuthV2.cs
Unity · v2
var app = new LibreAuth.Sdk.V2.LibreAuthV2("AppName", "OWNER_ID_10", "https://host/api/v2/");
await app.InitAsync();
await app.LoginAsync(user, pass, SystemInfo.deviceUniqueIdentifier);
More Links
- ← All Client SDKs
- 1.x source: View LibreAuthV2.cs
- Protocol v2: View LibreAuthV2.cs · docs
- Interactive API docs
- Response Signing