auth

Paddy 2014-08-13 Parent:9a1e62c24903 Child:9fe684b33b3d

12:63e86d129238 Go to Latest

auth/session.go

Consistently handle context in client storage interface. Let's at least be consistent about passing or not passing context to the client storage interface. Most our methods don't take the context, so let's just remove it.

History
1 package auth
3 import "net/http"
5 func validateSession(r *http.Request, c Context) error {
6 // TODO: return an error if the user does not have a valid session
7 return nil
8 }