Versions in this module Expand all Collapse all v0 v0.9.0 Jun 15, 2015 Changes in this version + var ErrTwoFactor = errors.New("authorization: two factor code required or invalid") + var ErrUnauthorized = errors.New("authorization: unauthorized") + type Authorizer interface + Authorize func(username, password, twofactor string) (*empire.User, error) + type Fake struct + func (a *Fake) Authorize(username, password, twofactor string) (*empire.User, error) + type MembershipError struct + Organization string + func (e *MembershipError) Error() string