Versions in this module Expand all Collapse all v0 v0.2.2 Feb 4, 2015 Changes in this version + const UserUIDKey v0.2.1 Jan 28, 2015 Changes in this version + const UserNameKey + type Authenticator struct + func NewAuthenticator(store Store, name string) *Authenticator + func (a *Authenticator) AuthenticateRequest(req *http.Request) (api.UserInfo, bool, error) + func (a *Authenticator) AuthenticationSucceeded(user api.UserInfo, state string, w http.ResponseWriter, req *http.Request) (bool, error) + func (a *Authenticator) InvalidateAuthentication(context api.UserInfo, w http.ResponseWriter, req *http.Request) error + type Session interface + Values func() map[interface{}]interface{} + type Store interface + Get func(r *http.Request, name string) (Session, error) + Save func(http.ResponseWriter, *http.Request) error + Wrap func(http.Handler) http.Handler + func NewStore(secrets ...string) Store