SaveSession creates a new session cookie value and sets this on the response
(rw http.ResponseWriter, req *http.Request, s *sessionsapi.SessionState)
| 558 | |
| 559 | // SaveSession creates a new session cookie value and sets this on the response |
| 560 | func (p *OAuthProxy) SaveSession(rw http.ResponseWriter, req *http.Request, s *sessionsapi.SessionState) error { |
| 561 | return p.sessionStore.Save(rw, req, s) |
| 562 | } |
| 563 | |
| 564 | func (p *OAuthProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request) { |
| 565 | p.serveMux.ServeHTTP(rw, req) |