Versions in this module Expand all Collapse all v0 v0.0.1 Sep 15, 2015 Changes in this version + var AuthenticationFailed = errors.New("authentication failed") + var NoLoginProviderName = errors.New("missing login provider name in context") + func Login(ctx context.Context, handler callback.Handler) error + func LoginProvider(ctx context.Context) string + func LoginProviderFrom(ctx context.Context) (name string, ok bool) + func ParentUPID(ctx context.Context) (upid *upid.UPID) + func ParentUPIDFrom(ctx context.Context) (pid upid.UPID, ok bool) + func RegisterAuthenticateeProvider(name string, auth Authenticatee) (err error) + func WithLoginProvider(ctx context.Context, providerName string) context.Context + func WithParentUPID(ctx context.Context, pid upid.UPID) context.Context + type Authenticatee interface + Authenticate func(ctx context.Context, handler callback.Handler) error + type AuthenticateeFunc func(ctx context.Context, handler callback.Handler) error + func (f AuthenticateeFunc) Authenticate(ctx context.Context, handler callback.Handler) error