public class MqttAuth extends Object
| Constructor and Description | 
|---|
MqttAuth(JsonObject json)
Create instance from JSON 
 | 
MqttAuth(String username,
        String password)
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getPassword()  | 
String | 
getUsername()  | 
String | 
password()
Deprecated. 
 
use instead  
getPassword() | 
JsonObject | 
toJson()
Convert instance in JSON 
 | 
String | 
userName()
Deprecated. 
 
use instead  
getUsername() ()} | 
public MqttAuth(String username, String password)
username - MQTT client usernamepassword - MQTT client passwordpublic MqttAuth(JsonObject json)
json - the JSONpublic String getUsername()
@Deprecated public String userName()
getUsername() ()}public String getPassword()
@Deprecated public String password()
getPassword()public JsonObject toJson()
Copyright © 2020 Eclipse. All rights reserved.