MqttAuthenticationManager class
Handles the logic and workflow surrounding the authentication processing.
This class allows authentication message exchange in the gap between sending a connect message with authentication data and receiving a connect acknowledgement message and re-authentication.
Constructors
Properties
-
authenticated
→ StreamController<
MqttAuthenticateMessage> -
The stream on which all received authenticate messages are added to
no setter
- connectionHandler ← dynamic
-
The current connection handler.
no getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleAuthentication(
MqttMessage msg) → bool - Handles the receipt of authentication messages from a message broker.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reauthenticate(
MqttAuthenticateMessage msg, {int waitTimeInSeconds = 30}) → Future< MqttAuthenticateMessage> - Re-authenticate.
-
send(
MqttAuthenticateMessage msg) → void - Send an authenticate message
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited