Interface AuthPacket

    • Method Detail

      • getAuthenticationMethod

        @NotNull String getAuthenticationMethod()
        The authentication method of the AUTH packet.
        Returns:
        The authentication method of the AUTH packet.
        Since:
        4.3.0, CE 2020.1
      • getAuthenticationDataAsArray

        @NotNull Optional<byte[]> getAuthenticationDataAsArray()
        The optional authentication data of the AUTH packet as a byte array.
        Returns:
        An Optional containing the authentication data if present.
        Since:
        4.3.0, CE 2020.1
      • getReasonCode

        @NotNull AuthReasonCode getReasonCode()
        The reason code of the AUTH packet.
        Returns:
        The reason code of the AUTH packet.
        Since:
        4.3.0, CE 2020.1
      • getReasonString

        @NotNull Optional<String> getReasonString()
        The optional reason string of the AUTH packet.
        Returns:
        An Optional containing the reason string if present.
        Since:
        4.3.0, CE 2020.1
      • getUserProperties

        @NotNull UserProperties getUserProperties()
        The user properties of the AUTH packet.
        Returns:
        The user properties of the AUTH packet.
        Since:
        4.3.0, CE 2020.1