Enum Class Options.AuthMode

java.lang.Object
java.lang.Enum<Options.AuthMode>
com.hypixel.hytale.server.core.Options.AuthMode
All Implemented Interfaces:
Serializable, Comparable<Options.AuthMode>, Constable
Enclosing class:
Options

public static enum Options.AuthMode extends Enum<Options.AuthMode>
Authentication modes supported by the server.
  • Enum Constant Details

    • AUTHENTICATED

      public static final Options.AuthMode AUTHENTICATED
      Require full authentication (mTLS + JWT). Default for release environment.
    • OFFLINE

      public static final Options.AuthMode OFFLINE
      Accept development connections only. For singleplayer offline mode.
    • INSECURE

      public static final Options.AuthMode INSECURE
      Accept development connections. Default for stage environment.
  • Method Details

    • values

      public static Options.AuthMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Options.AuthMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null