LoadCookiedSession reads the user's authentication details from the request
(req *http.Request)
| 553 | |
| 554 | // LoadCookiedSession reads the user's authentication details from the request |
| 555 | func (p *OAuthProxy) LoadCookiedSession(req *http.Request) (*sessionsapi.SessionState, error) { |
| 556 | return p.sessionStore.Load(req) |
| 557 | } |
| 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 { |