Ruby SDK
Ruby 3+ · LibreAuth native client · Protocol v2 available (Enterprise)
Ruby
Ruby 3+
Setup Guide
libreauth_v2.rb · OpsBridge.process_check_ops after check · ops_executor + hardening · full Windows ops parity · OpenSSL AES-GCM iv16 · ForceAdopt
- Credentials: name + ownerid (10 characters)
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
ruby/libreauth.rb - Ed25519 key: from
init→ Response Signing - Test: Live API · Init docs
Install / Dependencies
Terminal
# v2: libreauth_v2.rb · inject verify_sig → /api/v2/
Code Example
Ruby
require_relative 'libreauth_v2'
app = LibreAuthV2.new('AppName', 'OWNER_ID_10', 'https://host/api/v2/')
app.init!
app.login('user', 'pass', 'HWID')
Quick Test
Test
ruby -r ./libreauth.rb -e "LibreAuth.new('App','OWNER','1.0','https://libreauth.nutexe.dev/api/1.3/').init"
Protocol v2 (Enterprise)
INFO
Requires Enterprise plan. Endpoint
https://libreauth.nutexe.dev/api/v2/. Guide: API Protocol v2.Source: ruby/libreauth_v2.rb
Ruby · v2
require_relative 'libreauth_v2'
app = LibreAuthV2.new('AppName', 'OWNER_ID_10', 'https://host/api/v2/')
app.init!
app.login('user', 'pass', 'HWID')
More Links
- ← All Client SDKs
- 1.x source: View libreauth.rb
- Protocol v2: View libreauth_v2.rb · docs
- Interactive API docs
- Response Signing