moscajs / aedes

Barebone MQTT broker that can run on any stream server, the node way
MIT License
1.75k stars 228 forks source link

feat: add client reserved `userdata` property #942

Open btsimonh opened 4 months ago

btsimonh commented 4 months ago

Adds client.userdata description to client doc, and an example in examples doc.

btsimonh commented 4 months ago

I'll not get to these mods for a few weeks - last day before holiday today, and I don't yet have a local repo to run tests etc.... You could accept the docs change, and I'll look at the code changes as I progress my migration, and issue another PR then? (maybe with a full working example of JWT authentication)

robertsLando commented 4 months ago

I'll not get to these mods for a few weeks - last day before holiday today, and I don't yet have a local repo to run tests etc.... You could accept the docs change, and I'll look at the code changes as I progress my migration, and issue another PR then? (maybe with a full working example of JWT authentication)

I prefer to merge this once it's complete