Versions in this module Expand all Collapse all v1 v1.5.1 Apr 28, 2017 Changes in this version + const UserNameKey + const UserUIDKey + type Authenticator struct + func NewAuthenticator(store Store, name string) *Authenticator + func (a *Authenticator) AuthenticateRequest(req *http.Request) (user.Info, bool, error) + func (a *Authenticator) AuthenticationSucceeded(user user.Info, state string, w http.ResponseWriter, req *http.Request) (bool, error) + func (a *Authenticator) InvalidateAuthentication(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(secure bool, maxAgeSeconds int, secrets ...string) Store v1.5.0-alpha.1 Dec 29, 2016 Incompatible versions in this module v3.7.0-alpha.0+incompatible Aug 1, 2017