remove deadcode
This commit is contained in:
parent
4b00a44fcf
commit
d6734336dc
|
|
@ -48,9 +48,6 @@ type StoredSessionLoaderOptions struct {
|
||||||
// If the sesssion is older than `RefreshPeriod` but the provider doesn't
|
// If the sesssion is older than `RefreshPeriod` but the provider doesn't
|
||||||
// refresh it, we must re-validate using this validation.
|
// refresh it, we must re-validate using this validation.
|
||||||
ValidateSession func(context.Context, *sessionsapi.SessionState) bool
|
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
|
// NewStoredSessionLoader creates a new storedSessionLoader which loads
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue