Class Authenticator

java.lang.Object
com.zenith.network.client.Authenticator

public class Authenticator extends Object
  • Constructor Details

    • Authenticator

      public Authenticator()
  • Method Details

    • clearAuthCache

      public void clearAuthCache()
    • login

      public MinecraftProtocol login()
      Login Sequence: 1. Load auth cache 2. If auth cache is present, attempt to refresh until refreshTryCount limit is reached 2a. If refreshTryCount limit is reached, wipe cache and full login 3. If auth cache is not present, full login caller process will stop login attempts after 3 tries so the auth cache wipe could happen before or after that is reached depending on config