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

Auth rejection message should include optional payload #133

Open
connorcarpenter opened this issue Jan 29, 2023 · 0 comments
Open

Auth rejection message should include optional payload #133

connorcarpenter opened this issue Jan 29, 2023 · 0 comments
Labels
feature desired new functionality naia pertaining to naia crates

Comments

@connorcarpenter
Copy link
Member

When authentication fails during the connection handshake with the Server, it would be helpful to be able to tell the Client why exactly it did fail, e.g. an InvalidCredentials or UserBanned message ect. Which would help the Client take an appropriate action to retry the connection.

The event client-side could look like: Event::Rejection(message: Option<Protocol>) ?

Thank you @uupi for the suggestion from Discord 👍

@connorcarpenter connorcarpenter added naia pertaining to naia crates feature desired new functionality labels Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature desired new functionality naia pertaining to naia crates
Projects
None yet
Development

No branches or pull requests

1 participant