auth

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

13:ceba439a0766 Go to Latest

auth/session.go

Tie client functions to storage functions. Call through to storage functions from client helper functions. For most of them, we're just aliasing a storage call, which calls into question the usefulness of this pattern.

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 }