Skip to content

MqttContext

Source code in docs_src/capo_iot/types/mqtt_context.py
class MqttContext(TypedDict, closed=True):
    username: NotRequired["capo_iot.types.mqtt_username.MqttUsername"]
    """<p>The value of the <code>username</code> key in an MQTT authorization request.</p>"""
    password: NotRequired["capo_iot.types.mqtt_password.MqttPassword"]
    """<p>The value of the <code>password</code> key in an MQTT authorization request.</p>"""
    client_id: NotRequired["capo_iot.types.mqtt_client_id.MqttClientId"]
    """<p>The value of the <code>clientId</code> key in an MQTT authorization request.</p>"""

client_id instance-attribute

client_id: NotRequired[MqttClientId]

The value of the clientId key in an MQTT authorization request.

password instance-attribute

password: NotRequired[MqttPassword]

The value of the password key in an MQTT authorization request.

username instance-attribute

username: NotRequired[MqttUsername]

The value of the username key in an MQTT authorization request.