pomerium/internal/sessions
Bobby DeSimone badd8d69af
internal/sessions: refactor how sessions loading (#351)
These chagnes standardize how session loading is done for session
cookie, auth bearer token, and query params.

- Bearer token previously combined with session cookie.
- rearranged cookie-store to put exported methods above unexported
- added header store that implements session loader interface
- added query param store that implements session loader interface

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
2019-10-06 10:47:53 -07:00
..
cookie_store.go internal/sessions: refactor how sessions loading (#351) 2019-10-06 10:47:53 -07:00
cookie_store_test.go internal/sessions: refactor how sessions loading (#351) 2019-10-06 10:47:53 -07:00
header_store.go internal/sessions: refactor how sessions loading (#351) 2019-10-06 10:47:53 -07:00
middleware.go internal/sessions: refactor how sessions loading (#351) 2019-10-06 10:47:53 -07:00
middleware_test.go internal/sessions: refactor how sessions loading (#351) 2019-10-06 10:47:53 -07:00
mock_store.go all: refactor handler logic 2019-09-16 18:01:14 -07:00
query_store.go internal/sessions: refactor how sessions loading (#351) 2019-10-06 10:47:53 -07:00
state.go authenticate: encrypt & mac oauth2 callback state 2019-09-23 19:15:52 -07:00
state_test.go authenticate: encrypt & mac oauth2 callback state 2019-09-23 19:15:52 -07:00
store.go internal/sessions: refactor how sessions loading (#351) 2019-10-06 10:47:53 -07:00
util.go internal/sessions: refactor how sessions loading (#351) 2019-10-06 10:47:53 -07:00
util_test.go internal/sessions: refactor how sessions loading (#351) 2019-10-06 10:47:53 -07:00