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

Add username from CONNECT to client after authenticate succes #660

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

faceless2
Copy link

Re issue #147, the basic requirement in any authentication scheme is knowing the username specified during the CONNECT phase. So I think this really should be in the core API, rather than added by users.

This patch adds a that as the Client.username property.

@robertsLando
Copy link
Member

You should add a unit test that covers this

@robertsLando
Copy link
Member

I would also know @getlarge and @mcollina thoughts on this

@getlarge
Copy link
Member

It makes sense to have the username by default in the client, personally i always add it manually :)
And yes some tests would be needed and the types should be updated too.

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

Successfully merging this pull request may close these issues.

3 participants