Interface Mqtt5SimpleAuth


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

    • builder

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

      @NotNull @NotNull Optional<MqttUtf8String> getUsername()
      Returns:
      the optional username.
    • getPassword

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