TypeScript SDK
Node.js + TypeScript · LibreAuth native client · Protocol v2 available (Enterprise)
TypeScript
Node.js + TypeScript
Setup Guide
README-v2.md · ops-bridge processCheckOps after check · ops-executor + hardening · full Windows ops parity · BFF for browser · /api/v2/
- Credentials: name + ownerid (10 characters)
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
typescript/LibreAuth.ts - Ed25519 key: from
init→ Response Signing - Test: Live API · Init docs
Install / Dependencies
Terminal
# See sdk/typescript/README-v2.md · BFF for browser login
Code Example
TypeScript
import { LibreAuthV2 } from './libreauth-v2';
const app = new LibreAuthV2({ name: 'AppName', ownerId: 'OWNER_ID_10', url: 'https://host/api/v2/', bff: true });
await app.init();
Protocol v2 (Enterprise)
INFO
Requires Enterprise plan. Endpoint
https://libreauth.nutexe.dev/api/v2/. Guide: API Protocol v2.Source: typescript/README-v2.md
TypeScript · v2
import { LibreAuthV2 } from './libreauth-v2';
const app = new LibreAuthV2({ name: 'AppName', ownerId: 'OWNER_ID_10', url: 'https://host/api/v2/', bff: true });
await app.init();
More Links
- ← All Client SDKs
- 1.x source: View LibreAuth.ts
- Protocol v2: View README-v2.md · docs
- Interactive API docs
- Response Signing