zentures / surgemq

(Unmaintained) High-Performance MQTT Server and Client Libraries
Apache License 2.0
1.82k stars 312 forks source link

Turn on authorization on the server(broker). #44

Open kostasoft opened 7 years ago

kostasoft commented 7 years ago

Hi Prompt, please, how to turn on authorization on the server and where data of authorized users (user name and the password (hash)) will be stored?

ghost commented 7 years ago

@kostasoft here is my basic implementation of auth: https://github.com/smhouse/pi/blob/08fc82c29bcf4266a9b839f490f9c9a9a568f4cc/main.go