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

Session manager updates #551

Merged
merged 2 commits into from
Dec 7, 2018
Merged

Session manager updates #551

merged 2 commits into from
Dec 7, 2018

Conversation

timleslie
Copy link
Contributor

@timleslie timleslie commented Dec 6, 2018

This PR renames keystone.session to keystone.sessionManager. Within this class, the methods are renamed:

  • validate -> populateAuthedItemMiddleware
  • create -> startAuthedSession
  • destroy -> endAuthedSession

This hopefully makes it more clear what is going on within this subsystem of keystone. These changes are motivated by a desire to investigate #303. The existing names of session, create, and validate are all used in other parts of the system to mean different things. Renaming them makes them easier to uniquely search for which in turn makes it easier to investigate where and how they are used.

@timleslie timleslie force-pushed the session-manager branch 3 times, most recently from a979fcc to 0366566 Compare December 7, 2018 00:42
@timleslie timleslie changed the title [WIP] Session manager updates Session manager updates Dec 7, 2018
@jesstelford jesstelford merged commit 229527e into master Dec 7, 2018
@timleslie timleslie deleted the session-manager branch March 14, 2019 22:55
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.

2 participants