diff --git a/pkg/middleware/stored_session.go b/pkg/middleware/stored_session.go index 75501ac4..1afe6d0c 100644 --- a/pkg/middleware/stored_session.go +++ b/pkg/middleware/stored_session.go @@ -48,9 +48,6 @@ type StoredSessionLoaderOptions struct { // If the sesssion is older than `RefreshPeriod` but the provider doesn't // refresh it, we must re-validate using this validation. ValidateSession func(context.Context, *sessionsapi.SessionState) bool - - // Callback that is called when a session is refreshed - OnSessionRefreshed *func(context.Context, *http.Request, *sessionsapi.SessionState) } // NewStoredSessionLoader creates a new storedSessionLoader which loads