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

Factor session access into session manager. #598

Merged
merged 5 commits into from
Aug 11, 2017
Merged

Factor session access into session manager. #598

merged 5 commits into from
Aug 11, 2017

Conversation

jaredhanson
Copy link
Owner

This PR is the first step in refactoring session access into a session manager. Eventually, the session manager will be pluggable, so that implementation can choose to override session management.

The only API impacted by this PR is the SessionStrategy constructor, which now requires a deserializeUser function. Because the SessionStrategy is instantiated internally by passport, it is unlikely that this will cause any compatibility issues. If an application were, for some reason, constructing the SessionStrategy outside of passport, then this argument will need to be passed.

@jaredhanson jaredhanson merged commit 597e289 into master Aug 11, 2017
Martii pushed a commit to Martii/OpenUserJS.org that referenced this pull request Aug 28, 2017
* Update core *passport* from version bump. Additional functionality added... claims backward compatible at jaredhanson/passport#598 (comment)
* Redirect *passport-steam* to fork to include current release of 2.x and not maintenance branch of 1.x

*NOTES(S)*
* Brief discussion at OpenUserJS/passport-steam@d9198e3#commitcomment-23905032
* GH rechecked PASS
* Goo rechecked PASS
* Steam rechecked PASS
Martii added a commit to OpenUserJS/OpenUserJS.org that referenced this pull request Aug 28, 2017
* Update core *passport* from version bump. Additional functionality added... claims backward compatible at jaredhanson/passport#598 (comment)
* Redirect *passport-steam* to fork to include current release of 2.x and not maintenance branch of 1.x

*NOTES(S)*
* Brief discussion at OpenUserJS/passport-steam@d9198e3#commitcomment-23905032
* GH rechecked PASS
* Goo rechecked PASS
* Steam rechecked PASS

Auto-merge
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.

None yet

1 participant