1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-24 08:52:25 +02:00
oauth2-proxy/pkg/sessions/redis
Nick Meves 9643a0b10c
Centralize Ticket management of persistent stores (#682)
* Centralize Ticket management of persistent stores

persistence package with Manager & Ticket will handle
all the details about keys, secrets, ticket into cookies,
etc. Persistent stores just need to pass Save, Load &
Clear function handles to the persistent manager now.

* Shift to persistence.Manager wrapping a persistence.Store

* Break up the Redis client builder logic

* Move error messages to Store from Manager

* Convert ticket to private for Manager use only

* Add persistence Manager & ticket tests

* Make a custom MockStore that handles time FastForwards
2020-07-19 21:25:13 +01:00
..
client.go Implement graceful shutdown and propagate request context (#468) 2020-04-04 16:12:38 +01:00
redis_store_test.go Centralize Ticket management of persistent stores (#682) 2020-07-19 21:25:13 +01:00
redis_store.go Centralize Ticket management of persistent stores (#682) 2020-07-19 21:25:13 +01:00