Unity SDK
Unity 2021+ / C# · LibreAuth native client
Unity
Unity 2021+ / C#
Setup Guide
Import LibreAuth.cs into Assets/Scripts · set URL in login flow
- Panel → Manage Applications → copy name + ownerid
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
csharp/LibreAuth.cs - Ed25519 key: /health · Response Signing
- Test: Live API · Init docs
Install / Dependencies
Terminal
# Import sdk/csharp/LibreAuth.cs into Assets/Scripts
Code Example
Unity
var app = new LibreAuth("AppName", "OWNER_ID_10", "1.0", "https://libreauth.nutexe.dev/api/1.3/");
await app.InitAsync();
await app.LoginAsync(user, pass, SystemInfo.deviceUniqueIdentifier);