session

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const UserNameKey = "user.name"
View Source
const UserUIDKey = "user.uid"

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator added in v0.2.1

type Authenticator struct {
	// contains filtered or unexported fields
}

func NewAuthenticator added in v0.2.1

func NewAuthenticator(store Store, name string) *Authenticator

func (*Authenticator) AuthenticateRequest added in v0.2.1

func (a *Authenticator) AuthenticateRequest(req *http.Request) (user.Info, bool, error)

func (*Authenticator) AuthenticationSucceeded added in v0.2.1

func (a *Authenticator) AuthenticationSucceeded(user user.Info, state string, w