Enum AuthReasonCode

java.lang.Object
java.lang.Enum<AuthReasonCode>
com.hivemq.extension.sdk.api.packets.auth.AuthReasonCode
All Implemented Interfaces:
Serializable, Comparable<AuthReasonCode>, Constable

public enum AuthReasonCode
extends Enum<AuthReasonCode>
Since:
4.3.0, CE 2020.1
  • Enum Constant Details

    • SUCCESS

      public static final AuthReasonCode SUCCESS
      SUCCESS reason code is sent when client authentication completed successfully.
      Since:
      4.3.0, CE 2020.1
    • CONTINUE_AUTHENTICATION

      public static final AuthReasonCode CONTINUE_AUTHENTICATION
      CONTINUE_AUTHENTICATION reason code is sent when client authentication needs further authentication.
      Since:
      4.3.0, CE 2020.1
    • REAUTHENTICATE

      public static final AuthReasonCode REAUTHENTICATE
      REAUTHENTICATE reason code is sent when re-authentication is needed.
      Since:
      4.3.0, CE 2020.1
  • Method Details

    • values

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

      public static AuthReasonCode valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null