Interface Mqtt3SimpleAuth


@DoNotImplement public interface Mqtt3SimpleAuth
Simple authentication and/or authorization related data in an MQTT 3 Connect message.
Since:
1.0
  • Method Details

    • builder

      @NotNull static @NotNull Mqtt3SimpleAuthBuilder builder()
      Creates a builder for simple authentication and/or authorization related data.
      Returns:
      the created builder.
    • getUsername

      @NotNull @NotNull MqttUtf8String getUsername()
      Returns:
      the username.
    • getPassword

      @NotNull @NotNull Optional<ByteBuffer> getPassword()
      Returns:
      the optional password.