Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mqttools.Client initialization with username and password #7

Closed
aladin2000 opened this issue Dec 23, 2021 · 8 comments
Closed

mqttools.Client initialization with username and password #7

aladin2000 opened this issue Dec 23, 2021 · 8 comments

Comments

@aladin2000
Copy link

Any news for that feature ?

@eerimoq
Copy link
Owner

eerimoq commented Dec 23, 2021

I can start implementing it for the client, just as requested in this issue. Will not implement it in the broker for now.

Can you test it once ready?

@eerimoq
Copy link
Owner

eerimoq commented Dec 23, 2021

It's implemented now. Part of version 0.50.0.

@eerimoq
Copy link
Owner

eerimoq commented Dec 27, 2021

@aladin2000 Does it work?

@aladin2000
Copy link
Author

aladin2000 commented Dec 27, 2021

Sorry for late answer. but In fact I finally did the job with "mqqt_sub " and "mqtt_pub."
But so far, I dont know the correct syntax way to enter option credentials ?
I didn't have a look to that till next time...
Is it -u username -p password ?

@eerimoq eerimoq closed this as completed Dec 27, 2021
@aladin2000
Copy link
Author

Strange to close it without explanation for using thevproduct with correct syntaxe

@eerimoq
Copy link
Owner

eerimoq commented Dec 27, 2021

Well, this issue was about adding username and password to mqttools.Client, that is, the Python class. It said nothing about the command line interface. So I think it's strange to ask for something that the issue was not about (and indirectly assume that I implemented something that was not requested). However, I added --username and --password to the publish subcommand, so there is that.

You must write a more detailed issue to get what you want. I cannot read your mind =)

@aladin2000
Copy link
Author

aladin2000 commented Dec 27, 2021 via email

@eerimoq
Copy link
Owner

eerimoq commented Dec 27, 2021

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants