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

feat: Let strategies handle the connection #1510

Merged
merged 2 commits into from
Aug 17, 2019
Merged

Conversation

daffl
Copy link
Member

@daffl daffl commented Aug 17, 2019

This PR refers connection handling to the strategies that care about it. In the standard case the jwt strategy will attach the authentication result to the connection using { strategy: this.name, accessToken: authResult.accessToken } or remove it on logout.

Closes #1430

@daffl daffl merged commit 4329feb into master Aug 17, 2019
@daffl daffl deleted the handle-connection-1430 branch August 17, 2019 22:02
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.

v4 socket.io? auth code is assuming 'jwt' as a strategy
1 participant