Skip to content

Commit

Permalink
remove deadcode
Browse files Browse the repository at this point in the history
  • Loading branch information
EriksonBahr committed Feb 1, 2024
1 parent 4b00a44 commit d673433
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/middleware/stored_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d673433

Please sign in to comment.