# Class: MqttAuth

## vertx-mqtt-server-js/mqtt_auth~ MqttAuth

#### new MqttAuth()

MQTT authentication information

Source:
  - vertx-mqtt-server-js/mqtt_auth.js, line 29

### Methods

#### password() → {string}

Source:
  - vertx-mqtt-server-js/mqtt_auth.js, line 53

##### Returns:

the password provided by the remote MQTT client

Type
  string

#### userName() → {string}

Source:
  - vertx-mqtt-server-js/mqtt_auth.js, line 40

##### Returns:

the username provided by the remote MQTT client

Type
  string