Skip to content

Vladymyr/TheAlteningAuth4j

 
 

Repository files navigation

The Altening Auth API

Java 8+ Maven Central

A fork of The Altening Auth API 2.0 originally made by Trol. The objective of this fork is to improve the performance and readability for its users.

Prerequisites

  • Use JDK 1.8+

Usage

  1. Create a new TheAlteningAuthentication instance depending on the service wanted:
import com.thealtening.auth.TheAlteningAuthentication

TheAlteningAuthentication mojang = TheAlteningAuthentication.mojang();
TheAlteningAuthentication theAltening = TheAlteningAuthentication.theAltening();
  1. I case that you want to switch to another service, use the updateService method from your auth instance.
theAlteningAuth.updateService(AlteningServiceType.MOJANG);
theAlteningAuth.updateService(AlteningServiceType.THEALTENING);

Note: if the given service type is null or the same as the current, no change will be made.

License

The fork as the original repository requires it is under GNU GPLv3.

About

A fork of The Altening Auth API for Minecraft

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%