Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authon Kotlin SDK

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

WebsiteDocsDiscordStatus


Requirements

  • Kotlin 1.8+ / JVM 11+
  • No external dependencies (uses java.net.http)

Works with: Android, Minecraft Plugins (Paper/Spigot), Desktop (Compose)

Installation

Copy Authon.kt into your project.

Quick Start

val auth = Authon("your-app-id", "your-api-key")
auth.init()

val result = auth.login("username", "password")
if (result["success"] == true) {
    println("Level: ${auth.level}")
}
auth.logout()

Run Example

kotlinc Authon.kt Example.kt -include-runtime -d app.jar
java -jar app.jar

Links

License

MIT

About

Authon Kotlin SDK - Authentication & licensing for Kotlin/Android/Paper plugins (Gradle)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages