Open
Description
Requirements to get Raxx.Session to 1.0
Required
- cookie 1.0 release https://hex.pm/packages/cookie
- Test/example setup as part of Raxx.Kit
Questions
- Should we extend the Session api to include
Session.put_value
andSession.get_value
? These would just be delegating toMap.put
andMap.get
so I think they are just an indirection
Don't do anything special with atom keys Confusion around session keys being strings only elixir-plug/plug#848 (comment) - Should we have a middleware that puts the Session into the process dictionary. This will require helpers to put/get values in the session that is in the process dictionary
- Rename salt -> signing_salt in
Raxx.Session.SignedCookie
Later
- encrypted cookie store.
- DB/In memory cookie store
Extra stores can easily be added after 1.0 as new store is an enhancement not breaking change. However it might be worth proving the interface with at least one extra store