
Official Zig SDK for Authon โ Software Licensing & Authentication Platform
Website โข Docs โข Discord โข Status
- Zig 0.12+
- No external dependencies (stdlib only)
Copy authon.zig into your project's src/ directory.
const authon = @import("authon.zig");
pub fn main() !void {
var auth = authon.Authon.init("your-app-id", "your-api-key");
try auth.connect();
try auth.login("username", "password");
std.debug.print("Level: {d}\n", .{auth.level});
auth.logout();
}zig build-exe src/example.zig
./example- ๐ Website: https://authon.pro
- ๐ Docs: https://authon.pro/docs
- ๐ฌ Discord: https://discord.gg/MTY79JDFm6
- ๐ Status: https://authon.pro/status
MIT