public class MqttAuth extends Object
Constructor and Description |
---|
MqttAuth(io.vertx.core.json.JsonObject json)
Create instance from JSON
|
MqttAuth(String username,
String password)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getPassword() |
String |
getUsername() |
io.vertx.core.json.JsonObject |
toJson()
Convert instance in JSON
|
public MqttAuth(String username, String password)
username
- MQTT client usernamepassword
- MQTT client passwordpublic MqttAuth(io.vertx.core.json.JsonObject json)
json
- the JSONpublic String getUsername()
public String getPassword()
public io.vertx.core.json.JsonObject toJson()
Copyright © 2022 Eclipse. All rights reserved.