Skip to content

Latest commit

ย 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Authon Zig SDK

Authon
Official Zig SDK for Authon โ€” Software Licensing & Authentication Platform

Website โ€ข Docs โ€ข Discord โ€ข Status


Requirements

  • Zig 0.12+
  • No external dependencies (stdlib only)

Installation

Copy authon.zig into your project's src/ directory.

Quick Start

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();
}

Build & Run

zig build-exe src/example.zig
./example

Links

License

MIT

About

Authon Zig SDK - System programming authentication & licensing

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages