MCPcopy
hub / github.com/oauth2-proxy/oauth2-proxy / fakeSessionStore

Struct fakeSessionStore

pkg/middleware/stored_session_test.go:776–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774})
775
776type fakeSessionStore struct {
777 SaveFunc func(http.ResponseWriter, *http.Request, *sessionsapi.SessionState) error
778 LoadFunc func(req *http.Request) (*sessionsapi.SessionState, error)
779 ClearFunc func(rw http.ResponseWriter, req *http.Request) error
780}
781
782func (f *fakeSessionStore) Save(rw http.ResponseWriter, req *http.Request, s *sessionsapi.SessionState) error {
783 if f.SaveFunc != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected