LibreAuth Nut.exe Visit Website

Unity SDK

Unity 2021+ / C# · LibreAuth native client

Unity Unity 2021+ / C#
POST https://libreauth.nutexe.dev/api/1.3/

Setup Guide

Import LibreAuth.cs into Assets/Scripts · set URL in login flow

  1. Panel → Manage Applications → copy name + ownerid
  2. API URL: https://libreauth.nutexe.dev/api/1.3/
  3. Source: csharp/LibreAuth.cs
  4. Ed25519 key: /health · Response Signing
  5. 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);