MQTTnet icon indicating copy to clipboard operation
MQTTnet copied to clipboard

Version 5.0 Authentication Examples

Open jimsch opened this issue 6 years ago • 10 comments

Are there any examples that are using the version 5.0 authentication message?

jimsch avatar May 25 '19 17:05 jimsch

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

chkr1011 avatar May 27 '19 18:05 chkr1011

I will try to provide some examples soon.

SeppPenner avatar Jun 25 '19 09:06 SeppPenner

@chkr1011 Where do I have to look for this? I didn't find anything yet...

SeppPenner avatar Aug 10 '19 17:08 SeppPenner

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.

chkr1011 avatar Aug 11 '19 07:08 chkr1011

Do you mean WithAuthentication() or WithExtendedAuthenticationExchangeHandler()?

SeppPenner avatar Aug 12 '19 07:08 SeppPenner

I mean WithExtendedAuthenticationExchangeHandler. This is only available in MQTT v5.

chkr1011 avatar Aug 12 '19 19:08 chkr1011

Okay, I will see if I can find something here.

SeppPenner avatar Aug 13 '19 06:08 SeppPenner

Any progress on getting server side implemented?

jimsch avatar Nov 21 '19 05:11 jimsch

Hi I've implemented a draft of this feature, checkout the Pull request 835

quickstar avatar Dec 23 '19 11:12 quickstar