MQTTnet
MQTTnet copied to clipboard
Version 5.0 Authentication Examples
Are there any examples that are using the version 5.0 authentication message?
Hi, sorry here are no samples available. Basically you can use the properties described at the official MQTT specification or checkout the general tutorials at hivemq.org or elsewhere. Best regards Christian
I will try to provide some examples soon.
@chkr1011 Where do I have to look for this? I didn't find anything yet...
At the moment there is no example. Also the server is not able to handle those messages. The client can send and receive them (handler set in options) but the server currently cannot process them. So you need to test / document it using another broker which already supports and uses them.
Do you mean WithAuthentication() or WithExtendedAuthenticationExchangeHandler()?
I mean WithExtendedAuthenticationExchangeHandler. This is only available in MQTT v5.
Okay, I will see if I can find something here.
Any progress on getting server side implemented?
Hi I've implemented a draft of this feature, checkout the Pull request 835