Ruby SDK
Ruby 3+ · LibreAuth native client
Ruby
Ruby 3+
Setup Guide
Copy libreauth.rb · gem install json
- Panel → Manage Applications → copy name + ownerid
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
ruby/libreauth.rb - Ed25519 key: /health · Response Signing
- Test: Live API · Init docs
Install / Dependencies
Terminal
gem install json
# Copy sdk/ruby/libreauth.rb
Code Example
Ruby
app = LibreAuth.new('AppName', 'OWNER_ID_10', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')
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"