Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 1.22 KB

File metadata and controls

62 lines (44 loc) · 1.22 KB

Authon Lua SDK

Authon
Official Lua SDK for Authon — Software Licensing & Authentication Platform

WebsiteDocsDiscordStatus


Requirements

  • Lua 5.1+ or LuaJIT
  • socket.http (LuaSocket) or http module for your platform

Works with: Roblox, Garry's Mod, FiveM, LÖVE2D, WoW Addons

Installation

Copy authon.lua into your project:

local Authon = require("authon")

Quick Start

local Authon = require("authon")

local auth = Authon.new("your-app-id", "your-api-key")
auth:init()

local result = auth:login("username", "password")
if result.success then
    print("Level: " .. auth.level)
end

Run Example

lua example.lua

Links

License

MIT