group

package
Version: v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupAdder

type GroupAdder struct {
	Authenticator authenticator.Request
	Groups        []string
}

GroupAdder wraps a request authenticator, and adds the specified groups to the returned user when authentication succeeds

func NewGroupAdder

func NewGroupAdder(auth authenticator.Request, groups []string) *GroupAdder

func (*GroupAdder) AuthenticateRequest

func (g *GroupAdder) AuthenticateRequest(req *http.Request) (user.Info, bool, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL